3.1
This commit is contained in:
parent
f596ea1bda
commit
f16ccbeaa6
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user