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:
- jah128
- Date:
- 2015-10-03
- Revision:
- 0:8a5497a2e366
- Child:
- 6:ff3c66f7372b
File content as of revision 0:8a5497a2e366:
/* University of York Robotics Laboratory PsiSwarm Library: LED Functions Header File
*
* File: led.h
*
* (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York
*
* PsiSwarm Library Version: 0.2
*
* September 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 IF_restore_led_state(void);
void IF_init_leds(void);
void IF_update_leds(void);
#endif
