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.cpp
- Revision:
- 15:944ef5ed4533
- Parent:
- 11:7b12992156de
--- a/Leds/LEDs.cpp Sat Mar 28 11:54:49 2020 +0000
+++ b/Leds/LEDs.cpp Sat Mar 28 12:05:27 2020 +0000
@@ -1,5 +1,14 @@
#include "LEDs.h"
+LEDs::LEDs()
+{
+}
+
+LEDs::~LEDs()
+{
+}
+
+
void LEDs::Speed(bool leds_on, float speed, float max_speed, Gamepad &Device) //The speed is displayed on the LEDs
{
if(leds_on == true) { //If the setting for LEDs is on