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.
Fork of PsiSwarm-flockingAddedBluetooth by
led.h
00001 /* University of York Robotics Laboratory PsiSwarm Library: LED Functions Header File 00002 * 00003 * File: led.h 00004 * 00005 * (C) Dept. Electronics & Computer Science, University of York 00006 * James Hilder, Alan Millard, Homero Elizondo, Jon Timmis 00007 * 00008 * PsiSwarm Library Version: 0.3 00009 * 00010 * October 2015 00011 * 00012 */ 00013 00014 00015 #ifndef LED_H 00016 #define LED_H 00017 00018 unsigned short get_led_states(void); 00019 void set_leds(char green, char red); 00020 void set_green_leds(char green); 00021 void set_red_leds(char red); 00022 void set_led(char led, char state); 00023 void set_base_led(char state); 00024 void blink_leds(float timeout); 00025 void set_center_led(char state); 00026 void set_center_led(char state, float brightness); 00027 void set_center_led_brightness(float brightness); 00028 void save_led_states(void); 00029 void restore_led_states(void); 00030 void IF_init_leds(void); 00031 void IF_update_leds(void); 00032 00033 #endif
Generated on Mon Aug 1 2022 11:58:09 by
1.7.2
