Demo Board and Keyboard Present Code
Nick Waldvogel
Posts: 71
I am trying to use the keyboard present code found inside of the keyboard object.· I wrote a simple if statement for true or false.· All I get is that it is always connected???· Is there maybe something I overlooked??
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
this works :
'start the keyboard
kb.start(26, 27)
waitcnt(clkfreq * 3 + cnt)
if kb.present
'insert appropriate code here [noparse]:)[/noparse]
cheers
Dave