XC3802 Manualmain
XC3802 Manualmain
XC3802 Manualmain
Hardware
The main focus of the ESP8266 is the WiFi compatibility in a small form factor. It also
has an 80Mhz microcontroller and 4 MB of on-board flash.
Arduino Setup
To set it up in the Arduino IDE software, you must first add the index, then install the
board type:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Click OK to save.
Click Tools > Board > Board Manager
o In the new window that shows up, type in “esp8266” in the search bar.
o Install esp8266 by ESP8266 Community.
Once the boards have been installed, you can now select ESP8266 boards in the
boards menu.
The board to select for XC3802 is “LOLIN(WEMOS) D1 R2 & mini”
Once you have selected the board and selected the correct port, you can go File >
Examples and upload the blink sketch to test. There are more examples to try as well.
https://github.com/esp8266/arduino-esp8266fs-plugin/releases/latest
Then extract the zip into your Documents/Arduino/tools directory, creating it if it does
not already exist.
The final path of the tool should be:
Documents\Arduino\tools\ESP8266FS\tool\esp8266fs.jar
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
SPIFFS.begin(); // must always begin() SPIFFS
void loop() {
// put your main code here, to run repeatedly:
}
XC3802