Skip to content

Chapter 2: Some hardware is redundant #8

@akorb

Description

@akorb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions