PRO2_Team 1_collected code with ticker and headers_not working yet

Dependencies:   SHTx mbed

Fork of PRO2_samlet_kode by Olga Høyer

Revision:
6:12f1849aad21
Parent:
0:21e9cc38dd31
Child:
7:75d5c1db2027
--- a/rgb_led.h	Wed May 24 09:34:54 2017 +0000
+++ b/rgb_led.h	Wed May 24 11:19:51 2017 +0000
@@ -1,17 +1,19 @@
 /*
-================================================================================
-==              ==                                                            ==
-== Source File: ==  main.cpp                                                  ==
-== File Name:   ==  rgb_led.h                                                 ==
-== Author:      ==  Poul Erik Tjørnfelt                                       ==
-== Date:        ==  07/05-2017                                                ==
-== Copyright:   ==  Open to all                                               ==
-== Version:     ==  0.6 - Creation of file.                                   ==
-==              ==                                                            ==
-== Description: ==  The header file for a class, that creates instances of    ==
-==              ==  the actual RGB lamp that is used.                         ==
-==              ==                                                            ==
-================================================================================
+-------------------------------------------------------------------------------
+-- Project:         PRO2 "Awareness and Optimisation of energy consumption"
+-- Team:            Team 1
+
+-- File Name:       rgb_led.h
+-- Author:          Poul Erik Tjørnfelt
+-- Date:            07/05-2017
+-- Copyright:       Open to all
+-- Version:         0.6 - Creation of file.
+--
+-- Description:     The header file for a class, that creates instances of
+--                  the actual RGB lamp that is used.
+--
+-- Usage:
+-------------------------------------------------------------------------------
 */
 
 #ifndef RGB_LED_H
@@ -20,15 +22,15 @@
 
 class RGB_LED
 {
-    public:
-        RGB_LED(PinName pin_R, PinName pin_G, PinName pin_B);
-        void set(float red, float green, float blue);
-        void flash(float period, float on_timer);
-    
-    private:
-        PwmOut pin_r;
-        PwmOut pin_g;
-        PwmOut pin_b;    
+public:
+    RGB_LED(PinName pin_R, PinName pin_G, PinName pin_B);
+    void set(float red, float green, float blue);
+    void flash(float period, float on_timer);
+
+private:
+    PwmOut pin_r;
+    PwmOut pin_g;
+    PwmOut pin_b;
 };
 
 #endif
\ No newline at end of file