Elisa3
|
00001 #ifndef LEDS_H 00002 #define LEDS_H 00003 00004 00021 #include "variables.h" 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00031 void initRGBleds(); 00032 00037 void toggleBlueLed(); 00038 00045 void updateRedLed(unsigned char value); 00046 00053 void updateGreenLed(unsigned char value); 00054 00061 void updateBlueLed(unsigned char value); 00062 00067 void setGreenLed(unsigned char ledNum, unsigned char isOn); 00068 00073 void turnOffGreenLeds(); 00074 00079 void turnOnGreenLeds(); 00080 00081 #ifdef __cplusplus 00082 } // extern "C" 00083 #endif 00084 00085 #endif 00086