Hi @RobertLucian Robert,
I connected a Line Follower sensor to I2C port on my GoPiGo3, but the code seems not work (return -1).
I have just updated GoPiGo3 firmware by fixed my Distance Senor issue.
This is my code for Line Follower sensor:
# initialize an EasyGoPiGo3 object gpg3_obj = easy.EasyGoPiGo3() # and then initialize the LineFollower object line_follower = gpg3_obj.init_line_follower() # use it however you want it line_status = line_follower.read_raw_sensors() print(line_status)
And the output is as:
>>> ================================ RESTART ================================ >>> [-1, -1, -1, -1, -1] >>>