Skip to content

Breaking changes to conform to design guide #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 21, 2022
Merged

Breaking changes to conform to design guide #25

merged 3 commits into from
Apr 21, 2022

Conversation

tekktrik
Copy link
Member

@tekktrik tekktrik commented Apr 7, 2022

These changes resolve #24 by turning methods into properties. This seems to be more inline with the design guide for CircuitPython, since these seem to be more like "states" as opposed to "actions".

It doesn't look like the product tutorial needs any changing, since it didn't go over motion detection.

@tekktrik tekktrik requested a review from FoamyGuy April 7, 2022 21:01
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @tekktrik

@FoamyGuy FoamyGuy merged commit 92b9af4 into adafruit:main Apr 21, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Apr 22, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_VC0706 to 6.0.0 from 5.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_VC0706#25 from tekktrik/dev/convert-to-properties

Updating https://github.com/adafruit/Adafruit_CircuitPython_Motor to 3.4.0 from 3.3.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_Motor#63 from tekktrik/dev/allow-pwmio-protocols
  > Update Black to latest.
  > Fixed readthedocs build
  > Consolidate Documentation sections of README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make motion_detect a property
2 participants