stm32f103c8t6 with w5500 push cayenne
Diff: MPU6050.h
- Revision:
- 7:b2f689b5fb63
- Parent:
- 5:5bff0edcdff8
--- a/MPU6050.h Wed Aug 05 13:15:07 2015 +0000 +++ b/MPU6050.h Mon Apr 23 13:43:08 2018 +0000 @@ -31,15 +31,12 @@ #include "MPU6050RegDef.h" #define PI 3.14159265359 // This value will be used when calculating angles -#define dt 0.005 // 200 Hz sampling period +#define dt 0.02 // 20 Hz sampling period extern float aRes, gRes; /* whoAmI func uses this func, variables etc */ -extern Ticker toggler1; extern Serial pc; -extern DigitalOut led2; -extern void toggle_led1(); /* Sensor datas to be used in program */ extern float ax,ay,az;