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
led.h
- Committer:
- RobinMechele
- Date:
- 2018-03-16
- Revision:
- 4:7906049f6cca
- Parent:
- 3:fbf3c92f10ee
- Child:
- 6:4f13276fd1e2
File content as of revision 4:7906049f6cca:
#ifndef led_h
#define led_h
#include "mbed.h"
class Led
{
public:
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*);
};
#endif