master
louisa 11 months ago
parent 2dc3ea70f7
commit 369f982ae2

@ -45,7 +45,7 @@ void sendLoRaData(String data)
Serial.println(data);
LoRa.beginPacket();
LoRa.print("node3 " + data);
LoRa.print("3 " + data);
LoRa.endPacket();
}

@ -21,7 +21,7 @@
document.getElementById('log-text').textContent = `user ${value} entered zone ${node}`;
if (node === 'node3' && value === '15') {
if (node === '3' && value === '15') {
// Change the background color to red
document.body.style.backgroundColor = 'red';
document.getElementById('location-log').style.display = 'block';

Loading…
Cancel
Save