Difference between revisions of "MansOS API"
(New page: == LEDs == TODO == Sleep == * mos_sleep(seconds) * mos_msleep(milliseconds) * mos_usleep(microseconds) == USART == TODO) |
(→LEDs) |
||
Line 1: | Line 1: | ||
== LEDs == |
== LEDs == |
||
* toggleRedLed() |
|||
TODO |
|||
* toggleGreenLed() |
|||
* toggleBlueLed() |
|||
* toggleLed(ledNr) |
|||
* redLedOn() |
|||
* greenLedOn() |
|||
* blueLedOn() |
|||
* redLedOff() |
|||
* greenLedOff() |
|||
* blueLedOff() |
|||
* ledOn(uint8_t ledNr) |
|||
* ledOff(uint8_t ledNr) |
|||
* bool ledIsOn(ledNr) |
|||
* uint8_t getLeds() |
|||
* setLeds(bitmap) |
|||
== Sleep == |
== Sleep == |
Revision as of 00:30, 29 May 2009
LEDs
- toggleRedLed()
- toggleGreenLed()
- toggleBlueLed()
- toggleLed(ledNr)
- redLedOn()
- greenLedOn()
- blueLedOn()
- redLedOff()
- greenLedOff()
- blueLedOff()
- ledOn(uint8_t ledNr)
- ledOff(uint8_t ledNr)
- bool ledIsOn(ledNr)
- uint8_t getLeds()
- setLeds(bitmap)
Sleep
- mos_sleep(seconds)
- mos_msleep(milliseconds)
- mos_usleep(microseconds)
USART
TODO