Dependencies:   mbed Motor

Revision:
0:178a07cd3e39
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bees.h	Fri Dec 16 03:45:52 2011 +0000
@@ -0,0 +1,34 @@
+#ifndef _BEES_H
+#define _BEES_H
+
+#include "mbed.h"
+#include "move.h"
+
+#define DEBUG 1
+#define TERMINATE_CHAR 253
+#define DIRECTIONS 4
+
+typedef enum {Leader, Follower} Bee_Type;
+typedef enum {Blaze, SendDirections, GetDirections, Copy} Operation_Mode;
+//typedef enum {GetMove, DoMove} DoType;
+
+extern Serial pc;
+extern Serial xbee;
+extern MovementState move_state;
+//int current_move;
+
+//static int direct = 0;
+
+extern int directions[2*DIRECTIONS+1];
+
+int find_pollen();
+int return_home();
+int send_directions();
+int get_directions();
+int gather();
+int goto_pollen();
+void blaze();
+int copy();
+
+
+#endif
\ No newline at end of file