ft. button press reset

Dependencies:   mbed

Fork of BeaconDemo_RobotCode by Science Memeseum

Committer:
jah128
Date:
Mon Oct 05 20:42:37 2015 +0000
Revision:
3:cd048f6e544e
Parent:
0:8a5497a2e366
Child:
6:ff3c66f7372b
Added crude line following code

Who changed what in which revision?

UserRevisionLine numberNew 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 3:cd048f6e544e 20 void start_line_demo(void);
jah128 0:8a5497a2e366 21 void start_obstacle_demo(void);
jah128 0:8a5497a2e366 22 void start_spinning_demo(void);
jah128 0:8a5497a2e366 23 void start_stress_demo(void);
jah128 3:cd048f6e544e 24 void line_demo_cycle(void);
jah128 0:8a5497a2e366 25 void obstacle_demo_cycle(void);
jah128 0:8a5497a2e366 26 void spinning_demo_cycle(void);
jah128 0:8a5497a2e366 27 void stress_demo_cycle(void);
jah128 0:8a5497a2e366 28 #endif