Picomite Phase Correct PWM


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6035
Posted: 05:46pm 25 Aug 2022      

  robert.rozee said  

Peter, Geoff: is this mode ("Phase Correct Mode") of operating the PWM something that could perhaps be added as an extension to the existing PWM command in mmbasic for the pico, and possibly also the MX170? for instance, using a negative frequency to specify the alternate mode?


cheers,
rob   :-)


Maybe it is better to add a 4'th parameter to the PWM command, that when not used keeps the standard mode.

i.e. PWM frequency, duty cycle A, duty cycle B, "P"

I have seen that many PWM's have this "phase correct" feature, so it could even become a standard extension of MMBasic.

Volhout
Edited 2022-08-26 03:47 by Volhout