From 0eddc06ca0f38c7ea14b727f19b4943b35392c6b Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sun, 20 Oct 2024 12:25:36 +1100 Subject: auto brightness add option to control brightness automatically from an LDR on pin 34. Note this adds a new value to the globalconf structure, so this breaks the layout of stored settings and will break them all. --- html/index.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'html') diff --git a/html/index.html b/html/index.html index 20e7387..ef9778b 100755 --- a/html/index.html +++ b/html/index.html @@ -216,6 +216,8 @@
+ +


@@ -379,6 +381,7 @@ */ document.getElementById("brightness").value = data.brightness; + document.getElementById("autoBrightness").checked = data.autoBrightness; document.getElementById("cssid").value = data["cssid"]; document.getElementById("cpassword").value = data["cpassword"]; document.getElementById("datep").valueAsDate = new Date(data["datep"]); -- cgit v1.2.3