CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
Loading...
Searching...
No Matches

◆ LED_remote_ON_OFF()

void LED_remote_ON_OFF ( void  )

LEDs can be set ON/OFF from remote.

Returns
No Parameters
161void LED_remote_ON_OFF (void){
162
163 if( LED_remote_control){
164 prolungamento=0;
167 if( LED_remote_control_setting & 1){
168 //LED ON
170 }else{
171 //LED OFF
173 }
174 if( LED_remote_control_setting & 2){
175 //LED on
177 }else{
178 //Led off
180 }
181 }
182}
void LED_remote_ON_OFF(void)
LEDs can be set ON/OFF from remote.
Definition: Led.c:161
void LED_accendi_spegni(uint8_t LED, uint8_t accendi_1_spegni_0)
This function turns ON or OFF any of the selcted LED.
Definition: Led.c:123
volatile uint8_t LED_rosso_attivo
Definition: Led.c:57
volatile uint8_t LED_verde_attivo
Definition: Led.c:61
#define LED_RED
Definition: Led.h:10
#define spegni
Definition: Led.h:13
#define LED_GREEN
Definition: Led.h:11
#define accendi
Definition: Led.h:12

Definition at line 161 of file Led.c.

References accendi, LED_accendi_spegni(), LED_GREEN, LED_RED, LED_rosso_attivo, LED_verde_attivo, and spegni.

Referenced by main().