Skip to content
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

Added working examples using GPIOZero with Tkinter and Pygame #56

Merged
merged 4 commits into from Mar 18, 2024

Conversation

Snarr
Copy link
Contributor

@Snarr Snarr commented Mar 18, 2024

For issue BP-131, I was tasked with solving an incompatibility between GPIOZero and Pygame Zero.

After conducting some tests, I determined that it would be easiest to eliminate our Pygame Zero dependency and build out our own Pygame helper methods alongside GPIOZero.

In this branch, I included two new directories

  • GPIOZero_Pygame
  • GPIOZero_Tkinter

Where I include working examples of GPIOZero interfacing with the Pygame and Tkinter libraries.

These examples assume access to 4 switches on GPIO pins 5, 6, 13, and 19 on the Raspberry Pi.

Copy link
Contributor

@Jeffin-J Jeffin-J 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

@Parth099
Copy link

Looks bad actually

@Snarr
Copy link
Contributor Author

Snarr commented Mar 18, 2024

@Parth099 elaborate

Copy link
Contributor

@tuk05348 tuk05348 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!

@gummyfrog gummyfrog merged commit 411de77 into main Mar 18, 2024
2 checks passed
@Snarr Snarr deleted the BP-131-Find-new-library-for-interfacing-with-GPIO branch March 26, 2024 02:28
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.

None yet

5 participants