bombatuino/source/old testing stuff/piezo_input/piezo_input.ino
2013-05-14 22:03:11 +02:00

10 lines
191 B
C++

void setup() {
Serial.begin(9600);
}
void loop() {
int val = analogRead(5);
Serial.println(val);
delay(100); // we have to make a delay to avoid overloading the serial port
}