Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FatFileSystemCpp mbed
FIZ_readers/FIZDigiPowerActive.h
- Committer:
- JamieB
- Date:
- 2021-11-16
- Revision:
- 66:066b16c6c34f
- Parent:
- 19:08e6a2283d58
- Child:
- 71:7305a35cee58
File content as of revision 66:066b16c6c34f:
#ifndef __FIZDigiActive_H__ #define __FIZDigiActive_H__ #include "FIZReader.h" //FIZ protocol used for digipower box. // this is listen only. class FIZDigiPowerActive : public FIZReader { public: FIZDigiPowerActive(const PinName Tx, const PinName Rx); virtual void requestCurrent(); private: static const int InBufferSize = 32; void OnRx(void); void parsePacket(); int missedPackets; uint8_t inputBuffer[InBufferSize]; int inputPtr; }; #endif