EasyManuals Logo

Freenove 4WD Smart Car Board for Raspberry Pi User Manual

Default Icon
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #83 background imageLoading...
Page #83 background image
Need support? support.freenove.com
79
Chapter 3 Module test (necessary)
www.freenove.com
19
20
21
pwm.setServoPwm('0',90)
pwm.setServoPwm('1',90)
print "\nEnd of program"
Reference
setServoPwm(Servo,angle)
There are 2 parameters.
The first one is related to servo index.
The second one is related to the angle of servos.
For example,
setServoPwm(‘0’,20) makes servo0 rotate to 20°.
setServoPwm(‘1’,90) makes servo1 rotate to 90°.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Freenove 4WD Smart Car Board for Raspberry Pi and is the answer not in the manual?

Freenove 4WD Smart Car Board for Raspberry Pi Specifications

General IconGeneral
BrandFreenove
Model4WD Smart Car Board for Raspberry Pi
CategoryMicrocontrollers
LanguageEnglish