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: input_driver.h
- Revision:
- 6:4e6d51d8cc06
- Parent:
- 5:b3d4eda8a1e3
- Child:
- 8:9f59ef177620
diff -r b3d4eda8a1e3 -r 4e6d51d8cc06 input_driver.h --- a/input_driver.h Sat Nov 28 22:34:34 2020 +0000 +++ b/input_driver.h Mon Nov 30 09:52:19 2020 +0000 @@ -1,6 +1,9 @@ #ifndef INPUT_DRIVER_H #define INPUT_DRIVER_H +#define LIGHT_SENSOR_PIN p15 + +AnalogIn lightSensorVoltage(LIGHT_SENSOR_PIN); bool getFlashDetected(); #endif \ No newline at end of file
