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:20] jpascher [Setup and start test program blink] |
start-with-esp-12-arduino [2018/04/01 09:36] 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. | ||
+ | * 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.) | ||
* Turn on the program swish on the board or on the adapter. -> Push reset. | * 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. |