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: LED/LED.h
- Revision:
- 0:37f0c1e8fa66
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/LED/LED.h Tue Sep 08 13:38:10 2015 +0000
@@ -0,0 +1,27 @@
+// by MaEtUgR
+
+#ifndef LED_H
+#define LED_H
+
+#include "mbed.h"
+
+class LED {
+
+ public:
+ LED();
+ void shownumber(int number);
+ void ride(int times);
+ void roll(int times);
+ void rollnext();
+ void tilt(int index);
+ void set(int index);
+ void reset(int index);
+ int check(int index);
+ void operator=(int value);
+
+ private:
+ BusOut Led;
+ int roller;
+};
+
+#endif
\ No newline at end of file