Psi Swarm Code V0.41 [With Beautiful Meme program]
Dependencies: PsiSwarmLibrary mbed
Fork of BeautifulMemeProjectBT by
main.h@30:513457c1ad12, 2016-03-15 (annotated)
- Committer:
- jah128
- Date:
- Tue Mar 15 00:58:43 2016 +0000
- Revision:
- 30:513457c1ad12
- Parent:
- 28:46d650381972
Added serial handling for Psi Console
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 0:8a5497a2e366 | 1 | /*********************************************************************** |
jah128 | 0:8a5497a2e366 | 2 | ** ██████╗ ███████╗██╗███████╗██╗ ██╗ █████╗ ██████╗ ███╗ ███╗ ** |
jah128 | 0:8a5497a2e366 | 3 | ** ██╔══██╗██╔════╝██║██╔════╝██║ ██║██╔══██╗██╔══██╗████╗ ████║ ** |
jah128 | 0:8a5497a2e366 | 4 | ** ██████╔╝███████╗██║███████╗██║ █╗ ██║███████║██████╔╝██╔████╔██║ ** |
jah128 | 0:8a5497a2e366 | 5 | ** ██╔═══╝ ╚════██║██║╚════██║██║███╗██║██╔══██║██╔══██╗██║╚██╔╝██║ ** |
jah128 | 0:8a5497a2e366 | 6 | ** ██║ ███████║██║███████║╚███╔███╔╝██║ ██║██║ ██║██║ ╚═╝ ██║ ** |
jah128 | 0:8a5497a2e366 | 7 | ** ╚═╝ ╚══════╝╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ** |
jah128 | 0:8a5497a2e366 | 8 | ************************************************************************ |
jah128 | 0:8a5497a2e366 | 9 | **(C) Dr James Hilder - York Robotics Laboratory - University of York ** |
jah128 | 0:8a5497a2e366 | 10 | ***********************************************************************/ |
jah128 | 0:8a5497a2e366 | 11 | |
jah128 | 30:513457c1ad12 | 12 | /// PsiSwarm Blank Example Code |
jah128 | 30:513457c1ad12 | 13 | /// Version 0.41 |
jah128 | 30:513457c1ad12 | 14 | /// James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis |
jah128 | 6:ff3c66f7372b | 15 | /// University of York |
jah128 | 6:ff3c66f7372b | 16 | |
jah128 | 6:ff3c66f7372b | 17 | #ifndef MAIN_H |
jah128 | 6:ff3c66f7372b | 18 | #define MAIN_H |
jah128 | 6:ff3c66f7372b | 19 | |
jah128 | 10:1b09d4bb847b | 20 | #include "psiswarm.h" |
jah128 | 30:513457c1ad12 | 21 | //#include "bmeme.h" |
jah128 | 9:085e090e1ec1 | 22 | |
jah128 | 30:513457c1ad12 | 23 | int main(void); |
jah128 | 0:8a5497a2e366 | 24 | void user_code_setup(void); |
jah128 | 0:8a5497a2e366 | 25 | void user_code_loop(void); |
jah128 | 30:513457c1ad12 | 26 | void handle_switch_event(char switch_state); |
jah128 | 30:513457c1ad12 | 27 | void handle_user_serial_message(char * message, char length, char interface); |
jah128 | 6:ff3c66f7372b | 28 | |
jah128 | 6:ff3c66f7372b | 29 | |
jah128 | 6:ff3c66f7372b | 30 | #endif |