Blank program for Pi Swarm Robot
Dependencies: Pi_Swarm_Library mbed
main.h@3:1aa1de26966a, 2014-02-03 (annotated)
- Committer:
- jah128
- Date:
- Mon Feb 03 13:01:30 2014 +0000
- Revision:
- 3:1aa1de26966a
- Parent:
- 2:e806b595f9ce
Draft version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 2:e806b595f9ce | 1 | /******************************************************************************************* |
jah128 | 2:e806b595f9ce | 2 | * |
jah128 | 2:e806b595f9ce | 3 | * University of York Robot Lab Pi Swarm Robot Library |
jah128 | 1:37502eb3b70f | 4 | * |
jah128 | 1:37502eb3b70f | 5 | * (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York |
jah128 | 1:37502eb3b70f | 6 | * |
jah128 | 2:e806b595f9ce | 7 | * Version 0.5 February 2014 |
jah128 | 1:37502eb3b70f | 8 | * |
jah128 | 2:e806b595f9ce | 9 | * Designed for use with the Pi Swarm Board (enhanced MBED sensor board) v1.2 |
jah128 | 1:37502eb3b70f | 10 | * |
jah128 | 2:e806b595f9ce | 11 | ******************************************************************************************/ |
jah128 | 1:37502eb3b70f | 12 | |
jah128 | 1:37502eb3b70f | 13 | #ifndef MAIN_H |
jah128 | 1:37502eb3b70f | 14 | #define MAIN_H |
jah128 | 1:37502eb3b70f | 15 | |
jah128 | 1:37502eb3b70f | 16 | #include "piswarm.h" |
jah128 | 1:37502eb3b70f | 17 | |
jah128 | 1:37502eb3b70f | 18 | void handleUserRFCommand(char * data, char length); |
jah128 | 1:37502eb3b70f | 19 | void handleUserRFCommand(char sender, char broadcast_message, char request_response, char id, char is_command, char function, char * data, char length); |
jah128 | 1:37502eb3b70f | 20 | void handleUserRFResponse(char sender, char broadcast_message, char request_response, char id, char is_command, char function, char * data, char length); |
jah128 | 1:37502eb3b70f | 21 | void processRawRFData(char * rstring, char cCount); |
jah128 | 1:37502eb3b70f | 22 | void switch_pressed ( void ); |
jah128 | 1:37502eb3b70f | 23 | |
jah128 | 1:37502eb3b70f | 24 | #endif //MAIN_H |