electricidea / dstike-ntp-wristwatch Goto Github PK
View Code? Open in Web Editor NEWA simple ESP8266 wrist watch with WiFi connection for multiple locations, NTP time server synchronization and comparing functions.
License: MIT License
A simple ESP8266 wrist watch with WiFi connection for multiple locations, NTP time server synchronization and comparing functions.
License: MIT License
When trying to get this project to compile, I have encountered two main problems:
Time.h
could not be found. This appears to be a Linux-only issue, as this is a problem with case-sensitivity. I was able to fix this by changing the line
#include <Time.h>
in main.cpp
(at the time of writing this line 54) to
#include <time.h>
(notice the T
now being a lowercase t
.)
Another issue was that a call to abs
in main.cpp
was ambiguous. This could be an issue specific to my C++ compiler.
This was fixed by applying the changes specified in this pull request.
After fixing these two and switching to the PlatformIO CLI (the VS Code extension was having permission problems) I was able to compile and upload a build onto the watch.
I also want to thank you for writing this. I am planning on writing my own firmware for the watch, and this project is a sweet and simple example for the libraries and the setup to use, and until I wrote my own firmware my watch can actually tell the time now.
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (3.1.0) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.