Polling working, remove vistgial stuff

This commit is contained in:
Skylar Grant 2024-08-18 14:12:40 -04:00
parent 4d6e058afb
commit 02b2f77d4d

View File

@ -8,7 +8,7 @@ setInterval(() => {
if (pin.mode === 'IN') {
gpio.readPin(pin.board, (err, state) => {
if (err) throw err;
console.log(`${pin.key}: ${state} [def: ${pin.defaultState}]`);
console.log(`${pin.key}: ${state}`);
});
}
}