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

Chapter 2: Some hardware is redundant #8

Open
akorb opened this issue Sep 23, 2021 · 0 comments
Open

Chapter 2: Some hardware is redundant #8

akorb opened this issue Sep 23, 2021 · 0 comments

Comments

@akorb
Copy link

akorb commented Sep 23, 2021

In chapter 2 about controlling the LED with a button.
The python and C code put the buttonPin into pull up mode which leads to the usage of the internal resistors of the RasberryPi.
Therefore, some of the shown components in the diagram are not required (tested by myself and works):

image

The GPIO18 port can be connected directly to GND with only the button in between.

See https://github.com/raspberrypilearning/physical-computing-guide/blob/master/pull_up_down.md for more information

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

No branches or pull requests

1 participant