set time on startup
This commit is contained in:
parent
cc06dfb78c
commit
1eeffaed4a
1
app.js
1
app.js
@ -9,6 +9,7 @@ const lcd = require('./libs/lcd')
|
|||||||
async function main() {
|
async function main() {
|
||||||
lcd.clearScreen()
|
lcd.clearScreen()
|
||||||
await lcd.intro()
|
await lcd.intro()
|
||||||
|
lcd.time()
|
||||||
setInterval(lcd.time, 55000)
|
setInterval(lcd.time, 55000)
|
||||||
setInterval(hotwater.getStatus, 5000)
|
setInterval(hotwater.getStatus, 5000)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user