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.
LED/LED.h
- Committer:
- maetugr
- Date:
- 2013-09-02
- Revision:
- 0:12950aa67f2a
File content as of revision 0:12950aa67f2a:
// 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