選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

34 行
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 */