MakerFocus MakerFocus 2pcs D1 Mini NodeMcu 4M Bytes Lua WiFi Development Board Base on ESP8266 ESP-12F N Compatible NodeMcu Ar duino User manual

  • Hello! I am an AI chatbot trained to assist you with the MakerFocus MakerFocus 2pcs D1 Mini NodeMcu 4M Bytes Lua WiFi Development Board Base on ESP8266 ESP-12F N Compatible NodeMcu Ar duino User manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
How to use it?
Setup:
* Download the Arduino IDE from the arduino.cc site at en/Main/Software
* I found an OSX driver for the board at github.com on "adrianmihalko" 's page.
You will want the files under the ch340g-ch34g-ch34x-mac-os-x-driver
repository.
* Once both of these are installed open up the Arduino IDE
* Go into the preferences and add the url as stated in the product description
above (sorry can't post the url here)
* In the "Board Manager" search for and install the latest version of the
"esp8266" generic module
* Select the new "Port" added by the driver: (mine was
"/dev/cu.wchusbserial14120")
* Set the "Reset Method" to: nodemcu
* All done!
You should be able to write a simple "blink" sketch and upload it to your board
to see it work. The LED pin on this board is "2".
This setup also worked on a Mac, 10.13.16 and you can use the Blink example
from the Arduino website, replacing LED_BUILTIN with 2 and it worked.
arduino.cc/en/tutorial/blink
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(2, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(2, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
/