Library to control the mp3-tf-16p

Dependents:   LaserSensor

Revision:
2:4697650da797
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LAS_TB.h	Tue Jan 25 19:26:21 2022 +0000
@@ -0,0 +1,27 @@
+#ifndef MBED_LAS_TB_H
+#define MBED_LAS_TB_H
+
+#include "mbed.h"
+
+class LAS_TB {
+  
+  public:
+  
+  LAS_TB(PinName PinTX, PinName PinRX);
+  void MeasurementRequest();            
+  int32_t umvalue;
+  
+  private:
+  
+  Serial SerialPort;
+  uint8_t ReceivedStack[72];
+  uint8_t Stack[8];
+  
+  union Converter;
+  
+  
+  void SendStack();
+  void Rx_interrupt();  
+};
+
+#endif
\ No newline at end of file