Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / utilities / robot_slave / robot_slave.c @ 156

History | View | Annotate | Download (365 Bytes)

1 13 emarinel
/**
2
 * Eugene Marinelli
3
 * 4/5/07
4
 *
5
 * Robot slave program -- just listens for packets
6
 */
7
8 156 emarinel
#include <dragonfly_lib.h>
9
#include <colonet_dragonfly.h>
10
#include <wireless.h>
11
#include <serial.h>
12 13 emarinel
#include <stdio.h>
13
14 156 emarinel
int main(void) {
15
        dragonfly_init(ALL_ON);
16 13 emarinel
  wl_init();
17 156 emarinel
  colonet_init();
18 13 emarinel
19 156 emarinel
  orb_set_color(RED);
20 13 emarinel
21 156 emarinel
  usb_puts("test!\n");
22 13 emarinel
23 156 emarinel
  while(1) {}
24 13 emarinel
25
  return 0;
26
}