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.
Diff: Leds/LEDs.h
- Revision:
 - 13:28138043b471
 - Parent:
 - 12:74f31212292f
 - Child:
 - 14:edaf69190fcc
 
diff -r 74f31212292f -r 28138043b471 Leds/LEDs.h
--- a/Leds/LEDs.h	Sat Mar 28 11:40:28 2020 +0000
+++ b/Leds/LEDs.h	Sat Mar 28 11:50:18 2020 +0000
@@ -1,4 +1,5 @@
 /** LEDs Class
+* @file LEDs.h
 * @brief Controls the LEDs on the device
 * @author Henry W Triff
 * @date Mar, 2020
@@ -21,6 +22,12 @@
 class LEDs
 {
 public:
+    /** Constructor */
+    LEDs();
+    
+    /** Destructor */
+    ~LEDs();
+    
     /** Changes the state of the LEDs depending on the speed of the vehicle
     * @param leds_on If LEDs are enabled in settings (bool)
     * @param speed The speed of the player (float)