Psi Swarm robot library version 0.9
Fork of PsiSwarmV8_CPP by
Diff: led.h
- Revision:
- 0:d6269d17c8cf
- Child:
- 2:c6986ee3c7c5
diff -r 000000000000 -r d6269d17c8cf led.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/led.h Thu Feb 04 21:48:54 2016 +0000 @@ -0,0 +1,34 @@ +/* University of York Robotics Laboratory PsiSwarm Library: LED Functions Header File + * + * File: led.h + * + * (C) Dept. Electronics & Computer Science, University of York + * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis + * + * PsiSwarm Library Version: 0.4 + * + * February 2016 + * + * + */ + + +#ifndef LED_H +#define LED_H + +unsigned short get_led_states(void); +void set_leds(char green, char red); +void set_green_leds(char green); +void set_red_leds(char red); +void set_led(char led, char state); +void set_base_led(char state); +void blink_leds(float timeout); +void set_center_led(char state); +void set_center_led(char state, float brightness); +void set_center_led_brightness(float brightness); +void save_led_states(void); +void restore_led_states(void); +void IF_init_leds(void); +void IF_update_leds(void); + +#endif \ No newline at end of file