Library to control the mp3-tf-16p

Dependents:   LaserSensor

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LAS_TB.h Source File

LAS_TB.h

00001 #ifndef MBED_LAS_TB_H
00002 #define MBED_LAS_TB_H
00003 
00004 #include "mbed.h"
00005 
00006 class LAS_TB {
00007   
00008   public:
00009   
00010   LAS_TB(PinName PinTX, PinName PinRX);
00011   void MeasurementRequest();            
00012   int32_t umvalue;
00013   
00014   private:
00015   
00016   Serial SerialPort;
00017   uint8_t ReceivedStack[72];
00018   uint8_t Stack[8];
00019   
00020   union Converter;
00021   
00022   
00023   void SendStack();
00024   void Rx_interrupt();  
00025 };
00026 
00027 #endif