... I'm mostly using the extruder-step-pins, e.g. the STEP pin of E0 to control my lasers.
To adjust the power, my laser-drivers have a trim-pot and "set"-button, to adjust the pulse-length to the trim-pot voltage -- 0V to 5V will give 5 microseconds to 300 microseconds pulse time.
Then it's pulsing synchronous to the XY-movement (as needed for extruding the correct volume too) and - the longer the pulses, the more power ...
Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [
reprap.org] -- Deutsche Facebook-Gruppe - [
www.facebook.com]
Call for the project "garbage-free seas" - [
reprap.org]