Project

General

Profile

Revision 1520

Added by James Kong over 14 years ago

Changed main.c in james dummy folder

View differences:

main.c
1
/*
2
 * template.c - A starting point for developing behaviors using the Colony
3
 * 		robots. To create a new behavior, you should copy this "template"
4
 * 		folder to another folder and rename the "template.c" file
5
 * 		appropriately.
6
 *
7
 * This template will have the robot drive in circles and flash the orbs.
8
 *
9
 * Author: John Sexton, Colony Project, CMU Robotics Club
10
 */
11

  
12
#include <dragonfly_lib.h>
13
#include <wl_basic.h>
14

  
15
/* Time delay which determines how long the robot circles before it
16
 * changes direction. */
17
#define TIME_DELAY 5000
18

  
19
int main (void) {
20

  
1
]
21 2
	/* Initialize the dragonfly boards, the xbee, and the encoders */
22 3
	dragonfly_init(ALL_ON);
23 4
	xbee_init();

Also available in: Unified diff