LED PWM
I'm having a little trouble enabeling pwm for an led bar and strips I have installed on my printer. I have watched both
and
So far I've switched my min endstops to the max endstop pins and use pins 11 and 12 for the leds in the pins.h file of the firmware. I can't for the life of me figure out how to enable pwm. I kinda just expected to map to the pwm pins and for M42 P11 S100 to work, but anything less than 255 results in that pin being turned off. I realize the second video is about marlin and don't expect M150 to work or the color schemes. I'm just going to add the M42 commands at the start and end gcode in my slicer. I'm very new to programming (I've always been good at math) and so far I can read most of it, change variables, and uncomment lines. Beyond that I am helpless.
To gain this feature would my only choice be to flash marlin and loose some of the automated features of the prusa firmware? Or am I missing something easy?
RE: LED PWM
Tangential, but I was contemplating adding LEDs to my Mk3 and that plan came to a screeching halt when I found out the Mk3 source appears to not have the LED #defines anywhere. Which is annoying, because since it uses sensorless homing, the pins for the X/Y endstops are already available.