Open
Description
Hello, in order to simplify my code (to later use the Bounce2 library) I try to create an array of this type before void setup
:
int buttonPin [] = {mux.read (0), mux.read (1), mux.read (2), mux.read (3), ... }
However, renaming mux.read (i)
only works if it is done inside the void loop
.
Am I right or am I doing something wrong?
(I´m not a developer, I´m starting on this. )
Metadata
Metadata
Assignees
Labels
No labels