Test microswitch on pin 6
This commit is contained in:
parent
31a5b315bd
commit
f419bcd36e
|
@ -48,7 +48,7 @@ function releaseTest () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function microTest () {
|
function microTest () {
|
||||||
const PIN = 5
|
const PIN = 6
|
||||||
const btn = Gpio(PIN, 'in', 'both')
|
const btn = Gpio(PIN, 'in', 'both')
|
||||||
console.log(`Watching input on GPIO 0${PIN}`)
|
console.log(`Watching input on GPIO 0${PIN}`)
|
||||||
let saveTime = 0
|
let saveTime = 0
|
||||||
|
|
Loading…
Reference in New Issue