Skip to content

5.0.0 - set_motion_detect() Argument Name Changed

Compare
Choose a tag to compare
@FoamyGuy FoamyGuy released this 04 Apr 17:34
· 49 commits to main since this release
c13715b

This release changes the argument name for the argument of the set_motion_detect() function to enabled. Technically this is a breaking change in the specific case where user code passed the argument by name. i.e.

vc0706.set_motion_detect(args=True)

would need to change to:

vc0706.set_motion_detect(enabled=True)

However any code not specifically passing the argument by name should be unaffected and still work with this version.

To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.

To use in CPython, pip3 install adafruit-circuitpython-vc0706.

Read the docs for info on how to use it.