Initialize Line Following
To set up advanced line following once the circuits are connected to Quarky, follow these guidelines:
– During initialization, if you use two IR sensors for line following, connect them to analog pins on Quarky.
– If three IR sensors are used for line following, connect the sensors to digital pins instead.
This function ensures the sensors are properly aligned for advanced line-following control.
Syntax :
from quarkyAdvanceLineFollowing import AdvanceLineFollowing calibrateir()
linefollow = AdvanceLineFollowing(IR_NUM = 2)
The configurations of IR Sensors can be used for Line Following:
- Using two (02) IR Sensors (analog pin connections only)
- Using (03) IR Sensors (digital pin connections only)