AndreWohnsland / CocktailBerry

Easily serve Cocktails with Raspberry Pi and Python on any cocktail machine 🐍 + 🍸 = 🥳
https://cocktailberry.org
MIT License
58 stars 8 forks source link

Add option for input in pin controller #125

Closed AndreWohnsland closed 11 months ago

AndreWohnsland commented 11 months ago

This PR exposes the pin controller from the machine class. In addition, the controller now can also be initialized as input pin and there is a method to read the input.

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication