electricidea / DSTIKE-NTP-Wristwatch

A simple ESP8266 wrist watch with WiFi connection for multiple locations, NTP time server synchronization and comparing functions.
MIT License
28 stars 7 forks source link

Error Compiling platform.ini and main.cpp #1

Open Thman558 opened 3 years ago

Thman558 commented 3 years ago

This is my error Error: Invalid '/Users/riley/Downloads/DSTIKE-NTP-Wristwatch-master-3/platformio.ini' (project configuration file): 'While reading from '/Users/riley/Downloads/DSTIKE-NTP-Wristwatch-master-3/platformio.ini' [line 18]: option 'lib_deps' in section 'env:esp07' already exists

electricidea commented 3 years ago

Interesting. In fact, there is an error, because "lib_deps" should only be called once. I don't know why it compiled without error message so far. anyway, it should be called like this in the Platformio.ini:

lib_deps = 28 ; Adafruit NeoPixel 2978 ; ESP8266 and ESP32 OLED driver for SSD1306 displays

Many thanks for the hint