Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

TFT temp reading
#3

Thanks for the reply. This is the code I am using for the time.

// --------------------------------------------------------------------------------------
//   Define rules for Auto Summer Time Display, and clock adjustment
// --------------------------------------------------------------------------------------
// Example for Australia Eastern Time Zone (Sydney, Melbourne)
// TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660};    //UTC + 11 hours
// TimeChangeRule aEST = {"AEST", First, Sun, Apr, 3, 600};    //UTC + 10 hours
// Timezone myTZ(aEDT, aEST);

TimeChangeRule usEDT = {"USEDT", Second, Sat, Mar, 11, 200};   //UTC - 4 hours
TimeChangeRule usEST = {"USEST", First, Sun, Nov, 5, 200};    //UTC - 5 hours
Timezone myTZ(usEDT, usEST);

Right now the clock reads 0523 and the top green light is on. UTC time should be 0203. Local time is 2203.
Reply


Messages In This Thread
TFT temp reading - by danner - 08-05-2017, 08:21
RE: TFT temp reading - by werk_ag - 09-05-2017, 03:00
RE: TFT temp reading - by danner - 09-05-2017, 03:02
RE: TFT temp reading - by werk_ag - 09-05-2017, 03:20
RE: TFT temp reading - by danner - 09-05-2017, 03:24
RE: TFT temp reading - by werk_ag - 09-05-2017, 04:34
RE: TFT temp reading - by danner - 09-05-2017, 03:21
RE: TFT temp reading - by werk_ag - 09-05-2017, 04:33
RE: TFT temp reading - by danner - 09-05-2017, 03:36
RE: TFT temp reading - by werk_ag - 09-05-2017, 04:15
RE: TFT temp reading - by danner - 09-05-2017, 04:45
RE: TFT temp reading - by werk_ag - 09-05-2017, 18:21
RE: TFT temp reading - by danner - 09-05-2017, 18:34
RE: TFT temp reading - by werk_ag - 09-05-2017, 21:18
RE: TFT temp reading - by JT118 - 13-05-2017, 16:49
RE: TFT temp reading - by danner - 09-05-2017, 23:08
RE: TFT temp reading - by danner - 10-05-2017, 04:09
RE: TFT temp reading - by danner - 10-05-2017, 23:05
RE: TFT temp reading - by AllyCat - 14-05-2017, 10:51
RE: TFT temp reading - by danner - 14-05-2017, 10:53



Users browsing this thread: 1 Guest(s)