Trees | Indices | Help |
---|
|
Class that represents an infrared sensor.
|
|||
|
|||
int |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Creates an infrared sensor at given port. For the Pi2Go the following infrared sensors are used: id = 0: front center; id = 1: front left; id = 2: front right; id = 3: line left; id = 4: line right. The following global constants are defined: IR_CENTER = 0, IR_LEFT = 1, IR_RIGHT = 2, IR_LINE_LEFT = 3, IR_LINE_RIGHT = 4
|
Checks, if reflected light is detected.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Apr 16 12:46:33 2017 | http://epydoc.sourceforge.net |