This commit is contained in:
Skylar Grant 2024-08-18 13:14:57 -04:00
parent f596ea1bda
commit f16ccbeaa6
1 changed files with 1 additions and 1 deletions

View File

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