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.