This is a class which contains function to interface with the MLX75320
Diff: LidarSpi.cpp
- Revision:
- 11:bd2dee9957a9
- Parent:
- 9:067f75510d67
- Child:
- 12:d1767e2bd3a8
--- a/LidarSpi.cpp Fri Apr 15 13:53:31 2016 +0000 +++ b/LidarSpi.cpp Fri Apr 15 14:07:49 2016 +0000 @@ -20,6 +20,10 @@ // -> Cant't send anything to lidar without changing lidar SPI mode device.format(8,1); //8 bit, CLPOL=1, CLPHA=1 device.frequency(16000000); + resetPin.write(0); + wait_us(100); + resetPin.write(1); + }