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:
parent
5009fc15fa
commit
e6dc688d2b
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user