There are two components in this program: your component called SimpleC and the Main component MainC. The MainC component provides the Boot.booted signal which essentially is the entry point of the application.

2. You need to create the Component file SimpleC.nc. This has definition (implementation) of the component SimpleC.

3. Now you need to create a Makefile so that the compiler can compile it. Create the file called Makefile with the following two lines:

COMPONENT=SimpleAppC
include $(MAKERULES)

I.e., you put the name of the top level configuration in the COMPONENT field.

Now you are ready to compile:

$ make micaz

which should work successfully provided you have set up the environment properly.

Now you can start extending this skeleton code by adding more components. The first thing is to try adding the Leds component to glow a specific pattern of leds. After that you can add the Timer component and start to Blink them, as shown in the Blink example in the tutorial.