Set bwd to low
This commit is contained in:
parent
ef130b3939
commit
26f3ed4a11
|
@ -16,6 +16,7 @@ process.on('SIGINT', () => {
|
||||||
console.log(`Setting bwd to 0`)
|
console.log(`Setting bwd to 0`)
|
||||||
bwd.writeSync(0)
|
bwd.writeSync(0)
|
||||||
}
|
}
|
||||||
|
process.exit()
|
||||||
})
|
})
|
||||||
|
|
||||||
function releaseTest () {
|
function releaseTest () {
|
||||||
|
@ -108,7 +109,7 @@ function stepupTest () {
|
||||||
|
|
||||||
console.log(`Setting pin ${FWD} high`)
|
console.log(`Setting pin ${FWD} high`)
|
||||||
fwd.writeSync(1)
|
fwd.writeSync(1)
|
||||||
bwd.writeSync(1)
|
bwd.writeSync(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
releaseTest()
|
releaseTest()
|
||||||
|
|
Loading…
Reference in New Issue