added setting all GPIO pins to input

pull/152/head
alanbjohnston 4 years ago committed by GitHub
parent 52d551d173
commit 21c42a2eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,6 +44,10 @@ void setup() {
// set all Pico GPIO pins to input
for (int i = 6; i < 29; i++) {
pinMode(i, INPUT);
}
pinMode(LED_BUILTIN, OUTPUT); // Set LED pin to output
// detect Pi Zero using 3.3V

Loading…
Cancel
Save

Powered by TurnKey Linux.