Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BeautifulMemeProject by
PsiSwarm/demo.h@0:8a5497a2e366, 2015-10-03 (annotated)
- Committer:
- jah128
- Date:
- Sat Oct 03 22:48:50 2015 +0000
- Revision:
- 0:8a5497a2e366
- Child:
- 3:cd048f6e544e
Initial commit of PsiSwarm API and example code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 0:8a5497a2e366 | 1 | /* University of York Robotics Laboratory PsiSwarm Library: Demo Mode Header File |
jah128 | 0:8a5497a2e366 | 2 | * |
jah128 | 0:8a5497a2e366 | 3 | * File: demo.h |
jah128 | 0:8a5497a2e366 | 4 | * |
jah128 | 0:8a5497a2e366 | 5 | * (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York |
jah128 | 0:8a5497a2e366 | 6 | * |
jah128 | 0:8a5497a2e366 | 7 | * PsiSwarm Library Version: 0.2 |
jah128 | 0:8a5497a2e366 | 8 | * |
jah128 | 0:8a5497a2e366 | 9 | * September 2015 |
jah128 | 0:8a5497a2e366 | 10 | * |
jah128 | 0:8a5497a2e366 | 11 | */ |
jah128 | 0:8a5497a2e366 | 12 | |
jah128 | 0:8a5497a2e366 | 13 | #ifndef DEMO_H |
jah128 | 0:8a5497a2e366 | 14 | #define DEMO_H |
jah128 | 0:8a5497a2e366 | 15 | |
jah128 | 0:8a5497a2e366 | 16 | void demo_mode(void); |
jah128 | 0:8a5497a2e366 | 17 | void demo_handle_switch_event(char switch_pressed); |
jah128 | 0:8a5497a2e366 | 18 | void demo_update_leds(void); |
jah128 | 0:8a5497a2e366 | 19 | void demo_event_thread(void); |
jah128 | 0:8a5497a2e366 | 20 | void start_obstacle_demo(void); |
jah128 | 0:8a5497a2e366 | 21 | void start_spinning_demo(void); |
jah128 | 0:8a5497a2e366 | 22 | void start_stress_demo(void); |
jah128 | 0:8a5497a2e366 | 23 | void obstacle_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 24 | void spinning_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 25 | void stress_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 26 | #endif |