![](/media/cache/profiles/2012_sf_avc_095.jpg.50x50_q85.jpg)
2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Updater.h
- Committer:
- shimniok
- Date:
- 2018-12-12
- Revision:
- 12:3cd91e150d9c
- Parent:
- 11:8ec858b7c6d1
- Child:
- 13:5566df1250f1
File content as of revision 12:3cd91e150d9c:
#ifndef __UPDATER_H #define __UPDATER_H #include "mbed.h" #include "L3G4200D.h" class Updater: private mbed::NonCopyable<Updater> { public: void start(int interval_ms); static Updater *instance(); void gyro(int g[3]); private: Updater() {} // parameterize Timer *t; void update(); int _gyro[3]; int thisTime; int lastTime; }; #endif