Diferència entre revisions de la pàgina «Setup of WEMOS LOLIN32 on Arduino IDE»
De Wiki d'en Jordi Binefa
| (Hi ha una revisió intermèdia del mateix usuari que no es mostren) | |||
| Línia 9: | Línia 9: | ||
[https://github.com/PaulStoffregen/Time/ timelib.h] | [https://github.com/PaulStoffregen/Time/ timelib.h] | ||
| + | |||
| + | Extra code for arduino-esp32 examples: | ||
| + | <code> | ||
| + | #ifndef D3 | ||
| + | #define D3 5 | ||
| + | #endif | ||
| + | #ifndef D5 | ||
| + | #define D5 4 | ||
| + | #endif | ||
| + | </code> | ||
Alternative guide: [http://www.instructables.com/id/ESP32-With-Integrated-OLED-WEMOSLolin-Getting-Star/ ESP32 With Integrated OLED (WEMOS/Lolin) - Getting Started Arduino Style] | Alternative guide: [http://www.instructables.com/id/ESP32-With-Integrated-OLED-WEMOSLolin-Getting-Star/ ESP32 With Integrated OLED (WEMOS/Lolin) - Getting Started Arduino Style] | ||
Revisió de 20:58, 14 gen 2018
Installation: Arduino core for ESP32 WiFi chip
These extra libraries are needed:
A I2C display driver for SSD1306 oled displays connected to an ESP8266 or ESP32
Extra code for arduino-esp32 examples:
#ifndef D3 #define D3 5 #endif #ifndef D5 #define D5 4 #endif
Alternative guide: ESP32 With Integrated OLED (WEMOS/Lolin) - Getting Started Arduino Style