MansOS API

From DiLab
Revision as of 00:32, 29 May 2009 by Girts (talk | contribs)
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)

ADC

  • uint16_t adcRead(channel)
  • uint8_t adcGetChannelCount() - how many ADC channel the mote provides

Sleep

  • threadSleep(miliseconds)

USART

TODO