remove camera code

This commit is contained in:
ishak jmilou.ishak
2025-01-09 11:59:34 +01:00
parent 9eb9822cff
commit 092e4f5aeb

View File

@@ -48,10 +48,10 @@ document.addEventListener("DOMContentLoaded", function() {
}
// Update the image
function updateImage() {
var img = document.getElementById("robot-image");
img.src = "/image?" + new Date().getTime(); // Add timestamp to avoid caching
}
// function updateImage() {
// var img = document.getElementById("robot-image");
// img.src = "/image?" + new Date().getTime(); // Add timestamp to avoid caching
// }
// Fetch and display sensor data every 1 second
setInterval(parseData, 1000);