MansOS API

From DiLab
Revision as of 00:30, 29 May 2009 by Girts (talk | contribs) (LEDs)
Jump to: navigation, search

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