led.h

changeset 0
2c8ba1964db7
equal deleted inserted replaced
-1:000000000000 0:2c8ba1964db7
1 #ifndef __LEDH
2
3 #define __LEDH
4 #include "Marlin.h"
5
6 #if (LED_PIN > -1)
7 void led_status();
8 void led_init();
9
10 #define LED_UPDATE_INTERVAL 100
11 #define LED_HOTEND_ACTIVE_FLASH 800
12 #define LED_ERROR_FLASH 200
13 #define LED_STATUS led_status()
14
15 #else //no led
16 #define LED_STATUS
17 FORCE_INLINE void led_status() {};
18 #endif //LED_PIN > -1
19
20 #endif

mercurial