Looks like your message got truncated.
#define CASE_LIGHTS_PIN 6
will give you a menu option for the lcd only. It switches the pin to 0/255. PWM values are not allowed because it assumes a digital pin only. PWM values for M42 are always dangerus. If they use a timer the firmware already uses, you get unexpected results. So please take care the pwm does not use timer 0-2.
Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on
Facebook and
Twitter!