You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
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() );
// }
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() );
// }