![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode by
PsiSwarm/led.h
- Committer:
- jah128
- Date:
- 2015-10-26
- Revision:
- 10:1b09d4bb847b
- Parent:
- 6:ff3c66f7372b
File content as of revision 10:1b09d4bb847b:
/* 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, Homero Elizondo, Jon Timmis * * PsiSwarm Library Version: 0.3 * * October 2015 * */ #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