bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Diff: Controls/Controls.h
- Revision:
- 7:7efcd3bf3302
- Child:
- 8:1a3a69fecedf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Controls/Controls.h Thu Dec 03 06:09:28 2015 +0000 @@ -0,0 +1,35 @@ +#ifndef Controls_h +#define Controls_h + +#include "Gains.h" +#include "Target.h" +#include "MyMPU6050.h" + + +class Controls{ + + public: + + Controls():myMPU6050_1(p9, p10){ + } + + Gains gains; + Target target; + + MyMPU6050 myMPU6050_1;//I2C_SDA, I2C_SCL +// MyMPU6050 myMPU6050_2(p9, p10);//I2C_SDA, I2C_SCL + + void loop(){ + myMPU6050_1.loop(); + } + + private: + + + + + + +}; + +#endif \ No newline at end of file