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.
Dependencies: EthernetInterface LM75B mbed-rtos mbed
Diff: led.h
- Revision:
- 4:7906049f6cca
- Parent:
- 3:fbf3c92f10ee
- Child:
- 6:4f13276fd1e2
diff -r fbf3c92f10ee -r 7906049f6cca led.h
--- a/led.h Fri Mar 16 16:11:17 2018 +0000
+++ b/led.h Fri Mar 16 16:31:32 2018 +0000
@@ -5,7 +5,14 @@
class Led
{
public:
- explicit Led();
+ Led(); //Constructor
+ /**
+ * @param color char array
+ *
+ * Deze methode zal het kleur van je led instellen.
+ * Je geeft een character array mee, en de methode zal dan een 0 of een 1 terugsturen.
+ * (0 = succes, 1 = fail) Dit kan je dan doorgeven aan de slave om het juiste antwoord terug te sturen naar de master.
+ */
int setColor(char*);
};