This commit is contained in:
xin
2025-10-21 09:39:01 +08:00
parent 924d54bb71
commit e762213f7c
115 changed files with 12 additions and 80571 deletions

View File

@ -51,6 +51,7 @@ void showtime(double second)
int iiii=10;
void setup()
{
delay(500);
pinMode(34,INPUT);
pinMode(4,INPUT_PULLUP);
timebegin=millis();
@ -98,6 +99,7 @@ void setup()
Serial.begin(115200); //Start serial communication at 9600 for debug statements
Serial.println("TM1650 Example Code");
d.init();
d.setBrightness(0x01);
xLastWakeTime = xTaskGetTickCount();
size_t timenow=millis();
if (TimeTotle<999.8*3600)
@ -142,7 +144,7 @@ void loop()
//showtime("8000",2);
//delay(2000);
size_t timenow=millis();
if (TimeTotle<999.8*3600)
if (TimeTotle<999.8*3600000)
{
TimeTotle=TimeTotle+(timenow-timebegin);
timebegin=timenow;