led.h

Sat, 07 Nov 2015 13:24:46 +0100

author
mbayer
date
Sat, 07 Nov 2015 13:24:46 +0100
changeset 1
b584642d4f58
parent 0
2c8ba1964db7
permissions
-rw-r--r--

several modifications to support laser enable - still needs cleanup

#ifndef __LEDH

#define __LEDH
#include "Marlin.h"

#if (LED_PIN > -1) 
  void led_status();
  void led_init();

  #define LED_UPDATE_INTERVAL 100
  #define LED_HOTEND_ACTIVE_FLASH 800
  #define LED_ERROR_FLASH 200
  #define LED_STATUS led_status()

#else //no led
  #define LED_STATUS
  FORCE_INLINE void led_status() {};
#endif //LED_PIN > -1

#endif

mercurial