bombatuino/source/old testing stuff/piezo_input/piezo_input.ino

10 lines
191 B
Arduino
Raw Normal View History

2013-02-14 02:59:15 +01:00
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
}