Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

how do I do when GPIO0 is high write GPIO2 Low? #26

Open
marcosmaia opened this issue Sep 25, 2017 · 0 comments
Open

how do I do when GPIO0 is high write GPIO2 Low? #26

marcosmaia opened this issue Sep 25, 2017 · 0 comments

Comments

@marcosmaia
Copy link

how do I do when GPIO0 is high write GPIO2 Low?

Is this the code?
Where do I put it?
// // replicate GPIO0 input to GPIO2 output
// GPIO gpio0(0), gpio2(2);
// gpio0.modeInput();
// gpio2.modeOutput();
// while (1) {
// gpio2.write( gpio0.read() );
// }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant