ME 405 Romi
Loading...
Searching...
No Matches
ir_sensor.py
Go to the documentation of this file.
9
10from pyb import Pin, Timer, ADC
11
12
15
19 def __init__ (self, my_pin):
20 self.adc = ADC(my_pin)
21 self.black_ref = 0
22 self.white_ref = 0
23 self.calibrated = False
The IR_Sensor class is an object for each individual ir sensor on our line sensor.
Definition ir_sensor.py:14
__init__(self, my_pin)
Definition ir_sensor.py:16