My modifications/additions to the code
Dependencies: ADXL345 ADXL345_I2C IMUfilter ITG3200 Servo fishgait mbed-rtos mbed pixy_cam
Fork of robotic_fish_ver_4_8 by
Diff: PwmReader.h
- Revision:
- 7:e005cfaff8d1
- Parent:
- 6:a4d6f3e4bf28
- Child:
- 8:0574a5db1fc4
--- a/PwmReader.h Wed Jan 29 05:04:50 2014 +0000 +++ b/PwmReader.h Thu Jan 30 02:04:23 2014 +0000 @@ -11,8 +11,8 @@ float getDuty(); //0 to 1 protected: - void pwmRise(); //0 to 1 - void pwmFall(); //-1 to 1 + void pwmRise(); + void pwmFall(); private: InterruptIn* di;