I am using a Raspberry Pi 3, Afro ESC’s, and t100 thrusters. I am a beginner. I am trying to connect the t100 thrusters to my raspberry pi 3. I have the correct physical set up, but i am having a hard time with the python code to make the t100 thrusters power on and perform. we are using dc batteries for the power source. we are having issues finding a python code to control both thrusters together. we want the thrusters to move in forward, reverse, left and right. we also want to control them independently.
Below i have pasted the code we have been editing and working on. why wont this code work?
use ‘GPIO naming’
set #18 to be a PWM output
set the PWM mode to milliseconds stype
divide down clock
delay_period = 0.01
for pulse in range(50, 250, 1):
for pulse in range(250, 50, -1):