Servo missing from pyb

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
andyf9798
Posts: 5
Joined: Sat Jun 06, 2020 9:27 am

Servo missing from pyb

Post by andyf9798 » Sun Jun 14, 2020 7:47 am

I do not see in Servo in pyb,

help(pyb) has no Servo listed.

Was it removed, was it ever there?

How are you supposed to control RC servos with micropython?

I see many examples like import from pyb Servo
S1=pyb.servo(0)
but those surely will no longer work without servo being present.

Cheers

Actually, a follow up, I see no PWM either in machine or pyb

User avatar
dhylands
Posts: 3424
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Servo missing from pyb

Post by dhylands » Mon Jun 15, 2020 7:29 pm

Which board are you using?

Post Reply