Home / Forum / Builds and Things Built / MPCNC 2.8w $100 laser add-on complete / Reply To: MPCNC 2.8w $100 laser add-on complete

Profile photo of Leo69Leo69
Post count: 337
#15020 |

@kalle Try M106 S255 instead. The analogWrite is 8-bit PWM so valid values are 0-255. The 256 may be causing a toggle between digital high and low which might appear to be 50% duty cycle but if this is the case then I’m not sure why it isn’t affecting the 12v Mosfet output on D9. Just a suggestion, it’s quick and easy so try it and report back.