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: N5110 SRF02 beep mbed
Revision 3:e2c3f8c02d85, committed 2016-05-05
- Comitter:
- fy13dk
- Date:
- Thu May 05 13:26:23 2016 +0000
- Parent:
- 2:f76394c893a5
- Commit message:
- Version 1.4
Changed in this revision
main.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r f76394c893a5 -r e2c3f8c02d85 main.h --- a/main.h Thu May 05 12:54:17 2016 +0000 +++ b/main.h Thu May 05 13:26:23 2016 +0000 @@ -17,7 +17,6 @@ // INPUTS - /** @namespace Sensor @brief Ultra-Sonic distance sensor requires SDA and SCL lines @@ -50,16 +49,17 @@ /** @namespace sw2 -@brief An Interrupt button that puts beeper into silent +@brief An Interrupt button that is not used */ InterruptIn sw2(SW2); /** @namespace sw3 -@brief An Interrupt button that puts beeper into silent +@brief An Interrupt button that is not used */ InterruptIn sw3(SW3); + // OUTPUTS /** @@ -78,16 +78,21 @@ /** @namespace red -@brief +@brief built in LED's */ -BusOut red(PTC2); - +BusOut red(LED_RED); /** @namespace green -@brief +@brief built in LED's */ -BusOut green(PTC2); +BusOut green(LED_GREEN); + +/** +@namespace green +@brief built in LED's +*/ +BusOut blue(LED_BLUE); // VARIABLES