Re: PIC Nixie Clock project
Hi Dave,
go check out the thread over on espbasic... http://www.esp8266.com/viewtopic.php?f=41&t=11518
and check out his code... he does a better job (simpler code) of determining DST yes/no for the ESP8266
Note: the following bit of code is not PICBASIC it's espBASIC
Code:
[calculate_DST]
dow = time("dow")
day = time("day")
month = time("month")
hour = time("hour")
if ((DST = 1) and (dow = "Sun") and (month = "Nov") and (day >= 1) and (day < 8)) then
DST = 0
write(DaylightSavings,str(DST))
endif
if ((DST = 0) and (dow = "Sun") and (month = "Mar") and (day >=8) and (day < 15)) then
DST = 1
write(DaylightSavings,str(DST))
endif
return
and to others... if you haven't checked out and played with mike's awesome espBASIC you are missing out 
esp8266basic.com
regards
dwight
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Bookmarks