micromite pwm commands


Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6012
Posted: 08:30am 15 Jun 2024      

For SETPIN in the PWM section it says:
  Quote  Allocate pin to PWMnx. n and x are optional.
'n' is the PWM number (0 to 7) and 'x' and is the channel (A or B)
The setpin can be changed until the PWM command is issued. At that point
the pin becomes locked to PWM until PWMn,OFF is issued.


Although it's not specifically stated that the pin is released, it does make sense. After a while you start to assume this sort of thing as the manual can't really show every variation of every command.