I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later
Dependencies: BufferedSerial FatFileSystemCpp mbed
FIZ_readers/FIZ_ArriCmotion.h
- Committer:
- JamieB
- Date:
- 2022-08-30
- Revision:
- 80:0b7f1b85b626
- Parent:
- 62:dcb92159ac8e
File content as of revision 80:0b7f1b85b626:
#ifndef __FIZArriCM_H__ #define __FIZArriCM_H__ #include "FIZReader.h" //FIZ protocol used for Arri C motion systems // this is listen only. class FIZ_ArriCmotion : public FIZReader { public: FIZ_ArriCmotion(const PinName Tx, const PinName Rx); virtual void requestCurrent(); private: static const int InBufferSize = 32; void OnRx(void); void parsePacket(); uint8_t inputBuffer[InBufferSize]; int inputPtr; }; #endif