PulsedLight3D / LIDARLite_MultiSensor_using_PowerEnable_Line

This sketch demonstrates getting distance from multiple LIDAR-Lite sensors by enabling the Power Enable line of the sensor to read from, and disabling the others.
MIT License
4 stars 8 forks source link

2 LIDAR in same i2C line #1

Open antimodular opened 9 years ago

antimodular commented 9 years ago

i am working of this example code: LIDARLite_MultiSensor_using_PowerEnable_Line.ino

i moded the code to only use 2 sensors. https://gist.github.com/antimodular/0d6978d5c9bd53cf7a25 running the code prints out the first read on both sensors and then stops.

setting sensorPinsArraySize = 1 will always give readings from sensor A even when i change the order of pins in sensorPins[];

antimodular commented 9 years ago

sorry my mistake used the mode pin instead of the power enable pin on one of the sensors