Files
klubhaus-doorbell/libraries/audio-tools/examples/tests/etc/test-pins/test-pins.ino
2026-02-16 19:05:11 -08:00

22 lines
347 B
C++

#include "Arduino.h"
/**
* @brief Pin Tests for AudioKit
*
*/
void setup() {
Serial.begin(115200);
for (int j=10;j<=36;j++){
pinMode(j, INPUT_PULLUP);
}
}
void loop() {
for (int j=10;j<=36;j++){
int value = digitalRead(j);
Serial.print(value ? "-":"+");
}
Serial.println();
delay(1000);
}