paulmartinetti / twatch-take8 Goto Github PK
View Code? Open in Web Editor NEWttgo t-watch 2020 simple retro watch with long battery life, default in light sleep. Simple time/date/battery screen, and a couple api connects.
ttgo t-watch 2020 simple retro watch with long battery life, default in light sleep. Simple time/date/battery screen, and a couple api connects.
Hey Paul sorry i have been busy with health problems But i was wondering Where the New sleep is at how to change it to stay awake alittle longer?
Joseph
Hey paul it connected to my wifi and the time is off by 2 hours. Does it correct its self at anytime?
Joseph
Hello Paul, I notice that if I'm not at the location where I setup the WiFi for my phone and I accidentally tap on the screen it try's to connect to WiFi and just sits there on the connection screen. So I have to manually hold the side button into it goes off then told the button again to bring it back.
Is there a way if it can not connect to WiFi after 5 seconds or something that it can go back to sleep or go back to the time and date clock?
Joseph
Hello paul i have tried your code and i get this error.
`C:\Users\jJcSystems\Documents\Arduino\libraries\twatch-take8-main\displayTime\displayTime.ino: In function 'void displayTime(boolean)':
displayTime:16:23: error: 'TFT_GREEN' was not declared in this scope
unsigned int pHex = TFT_GREEN; // Paul = cyan
^
displayTime:24:3: error: 'RTC_Date' was not declared in this scope
RTC_Date tnow = watch->rtc->getDateTime();
^
displayTime:26:3: error: 'hh' was not declared in this scope
hh = tnow.hour;
^
displayTime:26:8: error: 'tnow' was not declared in this scope
hh = tnow.hour;
^
displayTime:27:3: error: 'mm' was not declared in this scope
mm = tnow.minute;
^
displayTime:28:3: error: 'ss' was not declared in this scope
ss = tnow.second;
^
displayTime:29:3: error: 'dday' was not declared in this scope
dday = tnow.day;
^
displayTime:30:3: error: 'mmonth' was not declared in this scope
mmonth = tnow.month;
^
displayTime:31:3: error: 'yyear' was not declared in this scope
yyear = tnow.year;
^
displayTime:33:3: error: 'tft' was not declared in this scope
tft->setTextSize(1); // normal size. 2 is double
^
displayTime:40:21: error: 'TFT_BLACK' was not declared in this scope
tft->fillScreen(TFT_BLACK);
^
displayTime:58:13: error: 'power' was not declared in this scope
int pct = power->getBattPercentage();
^
C:\Users\jJcSystems\Documents\Arduino\libraries\twatch-take8-main\displayTime\wifiTime.ino: In function 'void appWiFiTime()':
wifiTime:14:14: error: 'ssid' was not declared in this scope
WiFi.begin(ssid, password);
^
wifiTime:14:20: error: 'password' was not declared in this scope
WiFi.begin(ssid, password);
^
wifiTime:85:15: error: 'oweatherURL' was not declared in this scope
http2.begin(oweatherURL);
^
exit status 1
'TFT_GREEN' was not declared in this scope
`
I have never saw errors like that before.
Joseph
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.