Difference between revisions of "MansOS Apps examples"

From DiLab
Jump to: navigation, search
Line 1: Line 1:
There are several application examples located in <mansosroot>/apps directory.
There are several application examples located in <mansosroot>/apps directory.


Simple basics:
For example:

* demo/Blink - simple blink of LEDs. Also works for PC platform.
* demo/Blink - simple blink of LEDs. Also works for PC platform.


Sensing:
* demo/dev/BlinkDev - blink using the LEDs as a device.

* test/AdcTest - a simple program that scans all ADC channels and prints the values using the debugging mechanism macros PRINT, PRINNTLN and PRINTF.
* test/AdcTest - a simple program that scans all ADC channels and prints the values using the debugging mechanism macros PRINT, PRINNTLN and PRINTF.


Communications:
* demo/BaseStation - application for a base station mote, which works as a bridge between serial port and radio - all data received at one end is forwarded to the other

Device driver demo:
* demo/dev/BlinkDev - blink using the LEDs as a device.
* demo/dev/AdcDev - ADC as a device.
* demo/dev/AdcDev - ADC as a device.

Revision as of 10:39, 4 November 2010

There are several application examples located in <mansosroot>/apps directory.

Simple basics:

  • demo/Blink - simple blink of LEDs. Also works for PC platform.

Sensing:

  • test/AdcTest - a simple program that scans all ADC channels and prints the values using the debugging mechanism macros PRINT, PRINNTLN and PRINTF.

Communications:

  • demo/BaseStation - application for a base station mote, which works as a bridge between serial port and radio - all data received at one end is forwarded to the other

Device driver demo:

  • demo/dev/BlinkDev - blink using the LEDs as a device.
  • demo/dev/AdcDev - ADC as a device.