Advertisement
metalx1000

ESP8266 Basic Arduino IDE setup

Jun 12th, 2016
4,384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. #!/bin/bash
  2. #ESP8266 Basic Arduino IDE setup
  3. #pin layout diagram
  4. xdg-open "http://www.cnx-software.com/wp-content/uploads/2015/10/NodeMCU_v0.9_Pinout.png"
  5. #Instructions from
  6. xdg-open "http://www.whatimade.today/esp8266-easiest-way-to-program-so-far/"
  7.  
  8. #download the latest IDE - https://www.arduino.cc/en/Main/Software
  9. wget "https://downloads.arduino.cc/arduino-1.6.9-linux64.tar.xz" -O arduinoIDE.tar.xz
  10.  
  11. #extract
  12. tar xf arduinoIDE.tar.xz
  13. cd arduino-*
  14.  
  15. echo "Go to File --> Preferences and add the link http://arduino.esp8266.com/stable/package_esp8266com_index.json to the Additional Boards Manager URLS."
  16. echo "Then Go to Tools --> Board --> Boards manager and search for esp"
  17. ./arduino
  18.  
  19. #Pin 16 is the on board LED
  20. #The default Blink program example for the ESP8266 has the wrong pin set for this model
  21. ####Hold Down Flash button on board until uploading starts###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement