Library to control the mp3-tf-16p

Dependents:   LaserSensor

LAS_TB.h

Committer:
JeroenAero
Date:
2022-01-25
Revision:
2:4697650da797

File content as of revision 2:4697650da797:

#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