1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-29 18:52:13 +01:00

Changed pin number to reconcile code with drawing on Arduino site.

This commit is contained in:
tigoe 2011-01-12 03:59:02 -08:00
parent 5009fc15fa
commit e6dc688d2b

View File

@ -35,7 +35,7 @@ void loop() {
int thisPitch = map(sensorReading, 400, 1000, 100, 1000);
// play the pitch:
tone(8, thisPitch, 10);
tone(9, thisPitch, 10);
}