Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.

Dependencies:   C12832 LM75B mbed EthernetInterface mbed-rtos

Revision:
2:6bfe732ba6bc
Parent:
1:b5c534165dfe
--- a/rgb.h	Wed Mar 14 07:59:21 2018 +0000
+++ b/rgb.h	Mon Mar 19 11:32:54 2018 +0000
@@ -9,7 +9,20 @@
     
     class RGB{
         public:
+            /*
+            * Constructor for RGB class.
+            *
+            @param The pins that are connected to the RGB on the application board.
+            @return Nothing.
+            */
             RGB(PinName firstPin=p23, PinName secondPin=p24, PinName thirdPin=p25);
+            
+            /*
+            * Method turns on the LED according to the given color.
+            *
+            @param A string containing the color to be displayed.
+            @return Nothing.
+            */
             void turnOnLed(string kleur);
         private:
             const static float r_values[MAX_ARRAY_LENGTH_RGB];