Hi all.
I've got a device (IR rx/tx) running OpenBeken, and I need to drive a servo with it. I can handle the pins and the soldering and all that, but I'm coming up short on configuration.
I need to be able to set the angle (I don't care if it's 0~180, 0~1, 0~255, etc) and release the servo ~2sec later. I also wish to control the servo and IR tx/rx from Home Assistant.
OpenBeken seems to only provide PWM, so I'm guessing I can use PWM to poke the servo, but I'm having an awful time looking up command docs and figuring out proper parameters. They're SG90 clones, 0~180 degrees, but I've got little to no experience working with both servos and OpenBeken. I've settled on GPIO9/PWM3, it's the only PWM configured on this device so that makes it channel 0 if I understand things correctly.
Could anyone point me in the right direction for the next steps?
I've got a device (IR rx/tx) running OpenBeken, and I need to drive a servo with it. I can handle the pins and the soldering and all that, but I'm coming up short on configuration.
I need to be able to set the angle (I don't care if it's 0~180, 0~1, 0~255, etc) and release the servo ~2sec later. I also wish to control the servo and IR tx/rx from Home Assistant.
OpenBeken seems to only provide PWM, so I'm guessing I can use PWM to poke the servo, but I'm having an awful time looking up command docs and figuring out proper parameters. They're SG90 clones, 0~180 degrees, but I've got little to no experience working with both servos and OpenBeken. I've settled on GPIO9/PWM3, it's the only PWM configured on this device so that makes it channel 0 if I understand things correctly.
Could anyone point me in the right direction for the next steps?