This is a class which contains function to interface with the MLX75320

Dependents:   MLX75320_API

Revision:
12:d1767e2bd3a8
Parent:
11:bd2dee9957a9
Child:
13:ccf4ab73c33d
--- a/LidarSpi.h	Fri Apr 15 14:07:49 2016 +0000
+++ b/LidarSpi.h	Fri Apr 29 13:39:19 2016 +0000
@@ -163,6 +163,7 @@
         int TxPacketSlow(uint8_t* rData, uint16_t *rSz, uint8_t *tData, uint16_t tSz, uint16_t usDelay);
         int BasicRead();
         int BasicTransfer(uint8_t* rData, uint16_t rSz, uint8_t *wData, uint16_t wSz, const event_callback_t callback);
+        
         int ReadReg   ( uint32_t reg, uint32_t *val);
         int ReadReg(uint32_t reg, uint32_t *val, Serial* pc);
         int WriteReg  ( uint32_t reg, uint32_t val);
@@ -178,7 +179,7 @@
         int setTrace(void);
         int setEcho(void);
         int PrintAllReg (uint16_t * regs, uint32_t * val, uint16_t size);
-        
+        int setLed(bool state);
         void Trigger(int level);
         //int SetConfig ( int configNum);
         //int SetAcqCfg ( uint16_t set, uint16_t led, uint16_t accLog, uint16_t ovrLog);