Test setting output pin high

This commit is contained in:
mmcwilliams 2017-09-23 17:56:13 -04:00
parent f419bcd36e
commit bde21e9ac7
1 changed files with 14 additions and 1 deletions

View File

@ -82,5 +82,18 @@ function microTest () {
})
}
//test stepping up of 3.3V RPI logic via
//Sparkfun PRT-10967 (NPC1402)
function stepupTest () {
const FWD = 13
const BWD = 19
const fwd = Gpio(FWD, 'out')
const bwd = Gpio(BWD, 'out')
console.log(`Setting pin ${FWD} high`)
fwd.set(1)
}
//releaseTest()
microTest()
//microTest()
stepupTest()