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_DISNEY.h
00001 #ifndef __FIZDisney_H__ 00002 #define __FIZDisney_H__ 00003 #include "FIZReader.h" 00004 00005 //FIZ protocol used for Disney project 00006 00007 class FIZDisney : public FIZReader { 00008 00009 public: 00010 FIZDisney(const PinName Tx, const PinName Rx); 00011 virtual void requestCurrent(); 00012 00013 private: 00014 static const int InBufferSize = 32; 00015 00016 void OnRx(void); 00017 void parsePacket(); 00018 00019 uint8_t inputBuffer[InBufferSize]; 00020 int inputPtr; 00021 }; 00022 00023 00024 #endif
Generated on Thu Dec 15 2022 06:07:04 by 1.7.2