servo


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9425
Posted: 07:50pm 31 Oct 2024      

Try this


PicoMite.zip


Set the pins you want as PWM outputs e.g.

SETPIN GPn,PWM

Then use the servo command

SERVO channel, posA [,posB]

posA and posB can be between -20.0 and 120.0%

Make sure you understand which pins are on which PWM channel (see manual) and note that you can omit posA or posB but not both and if you want just posB then include the extra comma

e.g.

SERVO channel,,posB

This functionality will be part of the 6.00.00 release when finalised
Edited 2024-11-01 05:53 by matherp