Difference between revisions of "MansOS API"
(→LEDs) |
(→Sleep) |
||
Line 23: | Line 23: | ||
== Sleep == |
== Sleep == |
||
* threadSleep(miliseconds) |
|||
* mos_sleep(seconds) |
|||
* mos_msleep(milliseconds) |
|||
* mos_usleep(microseconds) |
|||
== USART == |
== USART == |
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
- threadSleep(miliseconds)
USART
TODO