Feature #69
closedOption to invert PWM signal.
0%
Description
I have built the cable mentioned under "Enabled laser PWM" http://redmine.laoslaser.org/projects/laos/wiki/HPC_LS3020_connections_-_July_2012 and connected it to my cutter. This gives full control over the laser's power from 0 to 20mA as expected, but the power output is inverted (so things that should be at 20mA are at 0mA, 15mA is at 5mA etc). When the cable is not plugged in at the LAOS end, the laser power is full 20mA as expected.
I'd like a config option for inverting the PWM signal would be perfect (so 100% power = 0 PWM Duty Cycle, 0% power = 100% PWM Duty Cycle).
Updated by peter almost 12 years ago
A flag for the inversion is not required.
The inversion can already be done by setting the config pwm.min and pwm.max parameters.
To invert the output: set pwm.min to 100 and pwm.max to 0.
Updated by parag0n almost 12 years ago
- Category changed from firmware to Documentation
Ah, i had no idea you could do that. Have closed my pull request and changed this ticket to a documentation problem.
Updated by parag0n almost 12 years ago
- Status changed from New to Closed
OK, i changed the wiki config page to mentions this.