Skip to content

Add Orange Pi AIPro #871

Description

@keepcold-yu

this is my code:
import time
import board
import busio
from adafruit_servokit import ServoKit

i2c_bus = busio.I2C(board.SCL, board.SDA)
kit = ServoKit(channels=16, i2c=i2c_bus)

kit.servo[0].angle = 75
time.sleep(1)
kit.servo[1].angle = 150

i use pca9685 and two sg90
When I tried to use these codes, he encountered an error。 like this photo
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    New Board RequestThis is a request for a new board to be supported.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions