Shop OBEX P1 Docs P2 Docs Learn Events
QTI Line Follower subroutine question — Parallax Forums

QTI Line Follower subroutine question

Nick DNick D Posts: 7
edited 2009-12-22 14:25 in Learn with BlocklyProp
I have a simple question about the Check_QTI subroutine:

DIRB=%1111

Why would you make the 4 pins outputs for 230us before making them inputs? Why not just leave them as inputs and read them when you want?
Also, what does QTI stand for?
Thanks.
Nick D

Comments

  • dandreaedandreae Posts: 1,375
    edited 2009-12-22 14:25
    The QTI sensors require a High state to activate them and also to discharge the capacitors.· The circuit is based on the RCTIME command.· I'm not sure what QTI stands for.

    Dave





    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support·
Sign In or Register to comment.