Collections of BERTL libraries
Diff: class_software.h
- Revision:
- 2:4a9ed5ca8a9a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/class_software.h Mon Apr 18 12:30:42 2016 +0000 @@ -0,0 +1,22 @@ +#ifndef class_software + +#define MAX_LOG 100 + +#define class_software + +class Logfile { +//functions + public: + Logfile(); + Logfile(int lenght); + void push(unsigned char input); + unsigned char last(); + unsigned char at(int pos); + //variables + private: + unsigned char array[MAX_LOG]; + int array_lenght; +}; + +#endif +