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: mbed
Fork of DataLoggerRS232trial by
DataLoggerRS232.h
00001 #include "mbed.h" 00002 00003 #ifndef DataLogger_RS232_H_ 00004 #define DataLogger_RS232_H_ 00005 00006 class DataLoggerRS232 : public Serial 00007 { 00008 public: 00009 00010 DataLoggerRS232(PinName tx,PinName rx, const char* name=NULL); 00011 00012 virtual ~DataLoggerRS232(); 00013 00014 int count; 00015 void get_ECU_databyte(); 00016 void display_ECU_databyte(); 00017 00018 private: 00019 00020 // Serial serial; 00021 00022 char c; 00023 char MSserial; 00024 00025 char* ringBuffer; 00026 char* rHead; 00027 char* rPos; 00028 char* rDisplay; 00029 00030 00031 }; 00032 00033 #endif // DataLogger_RS232_H_
Generated on Sat Jul 30 2022 16:22:58 by
1.7.2
