/ #define CASE_LIGHTS_PIN -1
December 15, 2013 03:25AM
have a ring let under my effector
I want to use a digital pin to turn on my light
I now use the Pin D6 card Azteeg X3
Use the command G-code M42 P6 S180 to activate
there a possibility other than matching with
Re: / #define CASE_LIGHTS_PIN -1
December 15, 2013 03:39AM
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!
Re: / #define CASE_LIGHTS_PIN -1
December 15, 2013 04:02AM
I now use the output pin D6 to turn my ring.
I always use one sript Host to turn on the light number 5
cntrl-alt-5 in host and switch
I have no other scrip available to turn off the light when not in use
Sorry, only registered users may post in this forum.

Click here to login