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
1 changed files with 1 additions and 1 deletions

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);
}