4#include "tutti_gli_header.h"
55volatile uint16_t LED_rosso_tempo =0;
58volatile uint8_t prolungamento=0;
59volatile uint8_t acceso=1;
62volatile uint16_t LED_verde_tempo =0;
65volatile bool LED_remote_control=
false;
66volatile uint8_t LED_remote_control_setting=0;
101 static uint8_t acceso=1;
125 if(accendi_1_spegni_0 <=1){
127 GPIO_PinWrite(
LED_Red.porta_num,
LED_Red.pin_num, accendi_1_spegni_0);
146 LED_remote_control =
rx_data[5];
147 LED_remote_control_setting=
rx_data[6];
163 if( LED_remote_control){
167 if( LED_remote_control_setting & 1){
174 if( LED_remote_control_setting & 2){
volatile uint8_t rx_data[8]
Received data vector.
const porta_pin_def LED_Red
Green LED.
const porta_pin_def LED_Green
Green LED.
void LED_remote_ON_OFF(void)
LEDs can be set ON/OFF from remote.
void LED_accendi_spegni(uint8_t LED, uint8_t accendi_1_spegni_0)
This function turns ON or OFF any of the selcted LED.
volatile uint8_t LED_rosso_attivo
void LED_VERDE_lampeggio(void)
This function toggles the green LED and it is launched by SysTick_Handler() every time LED_verde_temp...
volatile uint16_t LED_verde_fondo_scala
void instr_LED_ON_OFF_function(void)
LEDs can be set ON/OFF.
volatile uint16_t LED_rosso_fondo_scala
volatile uint8_t LED_verde_attivo
void LED_RED_lampeggio(void)
This function toggles the Red LED and it is launched by SysTick_Handler() every time LED_rosso_tempo ...