44 #include <avr/pgmspace.h>
47 #include "contiki-lib.h"
50 #include "dev/rs232.h"
51 #include "dev/watchdog.h"
55 #include "dev/ds2401.h"
56 #include "sys/node-id.h"
64 USART_PARITY_NONE | USART_STOP_BITS_1 | USART_DATA_BITS_8);
66 #if WITH_UIP || WITH_UIP6
68 rs232_redirect_stdout(RS232_PORT_0);
70 rs232_redirect_stdout(RS232_PORT_0);
110 printf_P(PSTR(CONTIKI_VERSION_STRING
" started. Node id %u\n"), node_id);
115 autostart_start(autostart_processes);
void rs232_init(void)
Initialize the RS232 module.
#define LEDS_RED
LED1 (Red) -> PC0.
void rtimer_init(void)
Initialize the real-time scheduler.
#define NULL
The null pointer.
void clock_init(void)
Initialize the clock library.
int main(void)
This is main...
void process_init(void)
Initialize the process module.
Header file for the Rime stack
#define LEDS_YELLOW
LED2 (Yellow) -> PC1.
#define LEDS_GREEN
LED3 (Green) -> PC2.
void random_init(unsigned short seed)
Seed the cc2430 random number generator.
void ctimer_init(void)
Initialize the callback timer library.
void process_start(struct process *p, process_data_t data)
Start a process.
int process_run(void)
Run the system once - call poll handlers and process one event.
Network initialization for the MICAz port.