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.
Dependencies: tsi_sensor MMA8451Q
Diff: LED_line.h
- Revision:
- 3:9262b505d7a8
- Parent:
- 1:1e448c750b63
--- a/LED_line.h Sat Jun 13 23:01:31 2020 +0000 +++ b/LED_line.h Sun Jun 14 20:35:55 2020 +0000 @@ -6,11 +6,11 @@ //#define L_CYCLE 2400 #define L_CYCLE 1000 -#define L_LED_OFF ((unsigned long int)(0.002*L_CYCLE)) +#define L_LED_OFF ((unsigned long int)(0.003*L_CYCLE)) #define L_LED_ON ((unsigned long int)(0.100*L_CYCLE)) -#define RAMP_SLOPE 20 -#define ON_TIMEOUT 1000 +#define RAMP_SLOPE 2 +#define ON_TIMEOUT 2000 class LED_line