Documentation
This commit is contained in:
parent
8f2944da71
commit
cf4e88fd35
5 changed files with 3 additions and 75 deletions
|
@ -16,7 +16,5 @@ Testing analog sensors
|
|||
|
||||
from compLib import IRSensor
|
||||
|
||||
ir = IRSensor.IRSensor()
|
||||
|
||||
while True:
|
||||
print ("left: {} middle: {} right: {}".format(ir.bottom_left_analog(), ir.bottom_middle_analog(), ir.bottom_right_analog()))
|
||||
print ("left: {} middle: {} right: {}".format(IRSensor.read(1), IRSensor.read(3), IRSensor.read(5)))
|
Reference in a new issue