Initial commit of examples for the Sensinode/cc2430 platform.

This commit is contained in:
zdshelby 2009-09-08 19:47:50 +00:00
parent bdce08d39d
commit 0e9220716e
6 changed files with 248 additions and 0 deletions

View file

@ -0,0 +1,23 @@
/**
* \file
* Basic hello world example
* \author
* Zach Shelby <zach@sensinode.com>
*/
#include "contiki.h"
#include <stdio.h> /* For printf() */
/*---------------------------------------------------------------------------*/
PROCESS(hello_world_process, "Hello world process");
AUTOSTART_PROCESSES(&hello_world_process);
/*---------------------------------------------------------------------------*/
PROCESS_THREAD(hello_world_process, ev, data)
{
PROCESS_BEGIN();
printf("Hello World!\n");
PROCESS_END();
}
/*---------------------------------------------------------------------------*/