This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
start-with-esp-12-arduino [2018/04/01 07:18] jpascher [Setup an start test program blink] |
start-with-esp-12-arduino [2018/04/01 10:01] jpascher [Setup and start test program blink] |
||
---|---|---|---|
Line 35: | Line 35: | ||
* Open in Arduino "Tools" -> PORT:"xxx" the port your Adapter is on. | * Open in Arduino "Tools" -> PORT:"xxx" the port your Adapter is on. | ||
* Open in Arduino "File" -> "Examples" and find -> "Examples for NodeMCU 1.0 (ESP-12E Module)" -> and then "ESP8266" -> then"BlinkWithoutDelay" Example. | * Open in Arduino "File" -> "Examples" and find -> "Examples for NodeMCU 1.0 (ESP-12E Module)" -> and then "ESP8266" -> then"BlinkWithoutDelay" Example. | ||
- | * Turn on the program swish on on the board or an the adapter. -> Push reset. | + | * Add the following Line on top of the Example: **#define LED_BUILTIN 2** (This is needed because the Example is written for a ESP-01 module and not for ESP-12. The blue LED is on internal PIN 2 not on PIN 1. There seams to be some confusion on Port numbering. On the board is written TXD0 for this pin. Alternativ one can install the latest Master version from Git as explained here: https://github.com/esp8266/Arduino) |
+ | * Turn on the program swish on the board or on the adapter. -> Push reset. | ||
* In Arduino push the upload (Blue error ->) and wait until 100% is reached. While uploading the blue LED on the board is flashing. | * In Arduino push the upload (Blue error ->) and wait until 100% is reached. While uploading the blue LED on the board is flashing. | ||
* Turn the program swish off on the board or on the adapter. | * Turn the program swish off on the board or on the adapter. |