[Issue #1] - Adding UpdateInterval config value to set how long to wait in between each update loop, in seconds
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
WifiSSID = "My Wifi Name"
|
||||
WifiPass = "SecretWifiPassword"
|
||||
@@ -12,4 +16,6 @@ const (
|
||||
NodeName = "Studio Weather"
|
||||
NodeID = "studio_env"
|
||||
ClientID = "pico2w_studio_env"
|
||||
|
||||
UpdateInterval = 30 * time.Second
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user