Initial commit
Dependencies: MODSERIAL Terminal TextLCD mbed
mytimer.h
- Committer:
- anmar
- Date:
- 2014-12-05
- Revision:
- 0:0903545c0460
File content as of revision 0:0903545c0460:
#include "mbed.h" #ifndef _mytimer_h #define _mytimer_h class mytimer { public: mytimer(); void reset(); uint32_t read(); void start(); void stop(); private: void update(); Ticker *tick; uint32_t timer; uint8_t running; }; #endif