Project

General

Profile

Revision 174

fixed some wl stuff; robot now receives packets

View differences:

robot_slave.c
12 12
#include <stdio.h>
13 13

  
14 14
int main(void) {
15
	dragonfly_init(ALL_ON);
15
  dragonfly_init(ALL_ON);
16

  
17
  orb_set_color(RED);
18
  usb_puts("calling wl_init\n");
19

  
16 20
  wl_init();
17 21
  colonet_init();
18 22

  
19
  orb_set_color(RED);
20

  
23
  
24
  orb_set_color(YELLOW);
21 25
  usb_puts("test!\n");
22 26

  
23
  while(1) {}
27
  while(1) {
28
    wl_do();
29
  }
24 30
  
25 31
  return 0;
26 32
}

Also available in: Unified diff