Added a primitive battery charge monitor.

This commit is contained in:
Hendrik van Wyk
2015-02-08 11:28:04 +02:00
parent e26aa12dce
commit 3cde999de9
4 changed files with 62 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ func main() {
flag.Parse()
source := datasource.NewJSONSource(*url)
gui := webgui.NewWebGui(source, 10*time.Second)
gui := webgui.NewWebGui(source, 10*time.Second, 100)
http.Handle("/", gui)
log.Fatal(http.ListenAndServe(":8080", nil))
}