The primary difference when using the Arduino IDE with the WeMos chips is that the standard pin numbers do not refer to the pin numbers on the WeMos. For example, instead of using 1 to refer to digital pin 1, you need to use the constant D1. I go into more details for this in my blog post Pin numbering for WeMos D1 Mini (ESP8266). If you haven Step 4: Arduino Sketch for MicroSD Card Logger. * "Wifi D1 Mini" or "Wemos D1 Mini" MicroSD card logger and real time clock. * NOTE: Despite the name, this card does not support Wifi. It appears there's a card of the * same name that also has an ESP-8266EX, and that one supports Wifi. Set your board WeMos D1 R2 & mini under Tools >> Start; Change baud rate to 115200. Tools >> Upload Speed >> 115200; If you need additional help, check out the WeMos wiki for the WeMos D1 Mini. I've seen examples of using PHP and a CSV file to write and read values for commands. Might be something I look into for the future and ease of In he following example, we want to control a LED, that is connected with a button and a pull-down resistor. The objective of the sketch is that the LED is off, when the button is not pressed and the LED is on as long as the button is pressed. Wiring Pull Down Resistor LED ESP8266 WeMos D1 Mini. After the wiring, we can dive into the 2.4" diagonal LCD TFT display. 320X240 pixels. TFT Driver IC: ILI9341. Touch Screen controller IC: XPT2046. Compatible with D1 mini, D1 mini Pro, D32 Pro. 3 kinds of connection. {"payload":{"allShortcutsEnabled":false,"fileTree":{"examples/01.Basics/ReadAnalogVoltage":{"items":[{"name":"ReadAnalogVoltage.ino","path":"examples/01.Basics The Wemos OLED shield uses a 64×48 pixel monochrome OLED display that connects to the Wemos D1 Mini via pins D1 and D2, which double up as the I2C serial data and clock. It makes use of the Adafruit SSD1306 library for Arduino, so it is very easy to program. Fzxn.

wemos d1 mini examples