Shop OBEX P1 Docs P2 Docs Learn Events
QTI software question — Parallax Forums

QTI software question

bstrom1953bstrom1953 Posts: 3
edited 2015-03-19 17:13 in BASIC Stamp
We mounted the QTI Line Follower hardware on the Boe-Bot. Now I am looking at the software that is supplied. Where can I learn about the command DIRB. I need to understand this code:
DIRB = %1111 ' P7..P4 -> output
PAUSE 0 ' Delay = 230 us
DIRB = %0000 ' P7..P4 -> input
PAUSE 0 ' Delay = 230 us
' PULSOUT UnusedPin, 0 ' Delays = 208 + (Duration*2) us
qtis = INB ' Store QTI outputs in INB

Thanks, bstrom1953

Comments

Sign In or Register to comment.