This commit is contained in:
Skylar Grant 2024-08-18 13:14:57 -04:00
parent f596ea1bda
commit f16ccbeaa6

View File

@ -25,7 +25,7 @@ module.exports = {
}
console.log(`Successfully toggled pin ${pin}`);
});
}.
},
// Function to sense a pin state
sensePin(pin, callback) {
exec(`python3 src/python/gpio_interface.py sense ${pin}`, (error, stdout, stderr) => {