Dim pwm As Pin
'Initialize UNO D10 pin as output
pwm.Initialize(10,pwm.MODE_OUTPUT)
'use the pin to write 50% duty cycle of the 8 bit pwm :
pwm.AnalogWrite(127)
Dim pwm As Pin
'Initialize UNO D10 pin as output
pwm.Initialize(10,pwm.MODE_OUTPUT)
'use the pin to write 50% duty cycle of the 8 bit pwm :
pwm.AnalogWrite(127)
Thanks Erel, that's good news and always wanted to control Quadcopters (drones) using only b4a and NOT the RC controller, now can do this by manipulating the duty cycle for motor speeds, and replacing the drone electronics with Arduino and a driver circuit.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.