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.
Dependencies: mbed
Fork of BeaconDemo_RobotCode by
PsiSwarm/led.h
- Committer:
- jhok500
- Date:
- 2017-03-07
- Revision:
- 22:a5eb04a8cf38
- Parent:
- 10:1b09d4bb847b
File content as of revision 22:a5eb04a8cf38:
/* 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
