PLANET-Q ES920LR Library
Dependents: IZU2020_GROUND_STATION IZU2020_AVIONICS IZU2020_AVIONICS
PQES920LR.h
- Committer:
- tanahashi
- Date:
- 2019-12-17
- Revision:
- 0:064d3711be83
- Child:
- 1:a5114a32febe
File content as of revision 0:064d3711be83:
#ifndef PQES920LR_H #define PQES920LR_H class ES920LR { private: Serial *_serial; char tx_buf[52]; char rx_buf[52]; char rx_size; int index; int flag; bool response; void (*func)(char*); public: ES920LR(Serial &serial); void send(char *data, int size); void attach(void(*func_ptr)(char*)); private: void receive(); }; #endif