Prusa-Firmware/Firmware/backlight.h
2019-10-17 13:11:32 +03:00

26 lines
477 B
C

//backlight.h
#ifndef _BACKLIGHT_H
#define _BACKLIGHT_H
#include <inttypes.h>
enum Backlight_Mode
{
BACKLIGHT_MODE_BRIGHT = 0,
BACKLIGHT_MODE_DIM = 1,
BACKLIGHT_MODE_AUTO = 2,
};
extern int16_t backlightLevel_HIGH;
extern int16_t backlightLevel_LOW;
extern uint8_t backlightMode;
extern bool backlightSupport;
extern void backlight_update();
extern void backlight_init();
extern void backlightTimer_reset();
extern void backlight_save();
#endif //_BACKLIGHT_H