Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sensors/sensors.h
- Revision:
- 33:2dbbe198adaf
- Parent:
- 32:aee87dcaf7ca
- Child:
- 34:0a8ae7f92262
--- a/sensors/sensors.h Mon May 13 03:44:50 2019 +0000 +++ b/sensors/sensors.h Mon May 13 09:02:19 2019 +0000 @@ -2,6 +2,8 @@ #define INCLUDED_SENSORS_H #include "hcsr04.h" #include "EC.h" +extern int RightOrLeft; + extern const float kOldWeightLight; extern LowPassFilter lowpassfilter[2]; float get_dist_forward(); @@ -17,7 +19,7 @@ extern DigitalIn bus_in; extern DigitalIn switch_lo; extern DigitalIn switch_li; -extern DigitalIn switch_LR; +extern InterruptIn switch_LR; extern DigitalIn switch_modes[3]; //extern InterruptIn mode4; @@ -34,9 +36,9 @@ }; extern int hand_mode; -/* + int FileOpen(); void FileWrite(); void FileClose(); -*/ + #endif \ No newline at end of file