sparkfun / PiServoHat_Py

Python package for the Pi Sevo Hat
MIT License
3 stars 2 forks source link

Missing isConnected method #2

Closed Petrox closed 4 months ago

Petrox commented 4 years ago

The readme.md contains the following example

mySensor = pi_servo_hat.PiServoHat()

    if mySensor.isConnected() == False:
        print("The Qwiic PCA9685 device isn't connected to the system. Please check your connection", \
            file=sys.stderr)
        return

but the PiServoHat class does not have isConnected method.

santaimpersonator commented 3 years ago

I am currently in the middle of some stuff, but this should be a simple fix.