Library to control the mp3-tf-16p

Dependents:   LaserSensor

Committer:
JeroenAero
Date:
Tue Jan 25 19:26:21 2022 +0000
Revision:
2:4697650da797
Version1;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JeroenAero 2:4697650da797 1 #ifndef MBED_LAS_TB_H
JeroenAero 2:4697650da797 2 #define MBED_LAS_TB_H
JeroenAero 2:4697650da797 3
JeroenAero 2:4697650da797 4 #include "mbed.h"
JeroenAero 2:4697650da797 5
JeroenAero 2:4697650da797 6 class LAS_TB {
JeroenAero 2:4697650da797 7
JeroenAero 2:4697650da797 8 public:
JeroenAero 2:4697650da797 9
JeroenAero 2:4697650da797 10 LAS_TB(PinName PinTX, PinName PinRX);
JeroenAero 2:4697650da797 11 void MeasurementRequest();
JeroenAero 2:4697650da797 12 int32_t umvalue;
JeroenAero 2:4697650da797 13
JeroenAero 2:4697650da797 14 private:
JeroenAero 2:4697650da797 15
JeroenAero 2:4697650da797 16 Serial SerialPort;
JeroenAero 2:4697650da797 17 uint8_t ReceivedStack[72];
JeroenAero 2:4697650da797 18 uint8_t Stack[8];
JeroenAero 2:4697650da797 19
JeroenAero 2:4697650da797 20 union Converter;
JeroenAero 2:4697650da797 21
JeroenAero 2:4697650da797 22
JeroenAero 2:4697650da797 23 void SendStack();
JeroenAero 2:4697650da797 24 void Rx_interrupt();
JeroenAero 2:4697650da797 25 };
JeroenAero 2:4697650da797 26
JeroenAero 2:4697650da797 27 #endif