![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode by
PsiSwarm/demo.h@23:fd0f0931768a, 2017-03-13 (annotated)
- Committer:
- jhok500
- Date:
- Mon Mar 13 10:07:07 2017 +0000
- Revision:
- 23:fd0f0931768a
- Parent:
- 6:ff3c66f7372b
ft. reset button press
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 | 6:ff3c66f7372b | 5 | * (C) Dept. Electronics & Computer Science, University of York |
jah128 | 6:ff3c66f7372b | 6 | * James Hilder, Alan Millard, Homero Elizondo, Jon Timmis |
jah128 | 0:8a5497a2e366 | 7 | * |
jah128 | 6:ff3c66f7372b | 8 | * PsiSwarm Library Version: 0.3 |
jah128 | 6:ff3c66f7372b | 9 | * |
jah128 | 6:ff3c66f7372b | 10 | * October 2015 |
jah128 | 0:8a5497a2e366 | 11 | * |
jah128 | 0:8a5497a2e366 | 12 | */ |
jah128 | 0:8a5497a2e366 | 13 | |
jah128 | 0:8a5497a2e366 | 14 | #ifndef DEMO_H |
jah128 | 0:8a5497a2e366 | 15 | #define DEMO_H |
jah128 | 0:8a5497a2e366 | 16 | |
jah128 | 0:8a5497a2e366 | 17 | void demo_mode(void); |
jah128 | 0:8a5497a2e366 | 18 | void demo_handle_switch_event(char switch_pressed); |
jah128 | 0:8a5497a2e366 | 19 | void demo_update_leds(void); |
jah128 | 0:8a5497a2e366 | 20 | void demo_event_thread(void); |
jah128 | 3:cd048f6e544e | 21 | void start_line_demo(void); |
jah128 | 0:8a5497a2e366 | 22 | void start_obstacle_demo(void); |
jah128 | 0:8a5497a2e366 | 23 | void start_spinning_demo(void); |
jah128 | 0:8a5497a2e366 | 24 | void start_stress_demo(void); |
jah128 | 3:cd048f6e544e | 25 | void line_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 26 | void obstacle_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 27 | void spinning_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 28 | void stress_demo_cycle(void); |
jah128 | 0:8a5497a2e366 | 29 | #endif |