Edgar Buchanan
/
Programmable_IR_Beacon
Predfined parameters
Fork of Programmable_IR_Beacon by
Revision 1:0c6b12a40074, committed 2014-09-04
- Comitter:
- edgarbuchanan
- Date:
- Thu Sep 04 14:28:17 2014 +0000
- Parent:
- 0:d88fd55a27a6
- Commit message:
- Programmamble_IR_Beacon
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d88fd55a27a6 -r 0c6b12a40074 main.cpp --- a/main.cpp Wed Mar 19 15:09:11 2014 +0000 +++ b/main.cpp Thu Sep 04 14:28:17 2014 +0000 @@ -19,6 +19,8 @@ DigitalIn button2(p24); //"SELECT" Push-button PwmOut out_narrow(p21); //PWM Output for the narrow (high intensity) LED driver PwmOut out_wide(p22); //PWM Output for the wide-angle LED driver +//DigitalOut out_narrow(p21); //PWM Output for the narrow (high intensity) LED driver +//DigitalOut out_wide(p22); //PWM Output for the wide-angle LED driver Display display; Timer system_timer; //System timer is used for timer the on-off periods for the LEDs @@ -28,7 +30,7 @@ char mode = 0; char power = 1; char duty = 2; -char frequency = 2; +char frequency = 7; int on_period; int off_period;