ELEC2645 (2015/16) / Mbed 2 deprecated DK_PROJECT2016

Dependencies:   N5110 SRF02 beep mbed

Files at this revision

API Documentation at this revision

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