DexterInd / GoPiGo3

The GoPiGo3 is a Raspberry Pi Robot!
https://gopigo.io
Other
98 stars 85 forks source link

Fix/scratch distancesensor #234

Closed CleoQc closed 5 years ago

CleoQc commented 5 years ago

Use easysensors classes for all the grove sensors. Move the grove light sensor to grove_light to avoid conflict with our light/color sensor

Note: we use to allow the ultrasonic sensor without a port assignation (AD1 was then taken as default). This is no longer permissible. However, the distance sensor can be on I2C and AD1/AD2. I've tested with two distance sensors and an ultrasonic sensor, all together. Wooo!

Distance sensors can be disconnected and reconnected, and moved to a different port too.