25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
618 B

  1. /*
  2. * File: LedLightCtrl.h
  3. * Author: JF
  4. *
  5. * Created on November 30, 2018, 8:09 PM
  6. */
  7. #ifndef LEDLIGHTCTRL_H
  8. #define LEDLIGHTCTRL_H
  9. #define LED_LIGHT_TICK_STEP 5 //Percent
  10. #define LED_LIGHT_MIN_DIM_VAL 10 //Percent
  11. #define LED_LIGHT_ON 1
  12. #define LED_LIGHT_OFF 0
  13. extern int LedLightBrightness;
  14. void LedLightDim(int Percent);
  15. void LedLightDecrease();
  16. void LedLightBright(int Percent);
  17. void LedLightIncrease();
  18. void LedLightSet(int Percent);
  19. void LedLightONOFFBtnPressed();
  20. void TurnLedLightON();
  21. void TurnLedLightOFF();
  22. int GetLedLightBrightness();
  23. int GetLedLightState();
  24. #endif /* LEDLIGHTCTRL_H */