From e6dc688d2b61d36e9ff618bc8f599bc2ae87941e Mon Sep 17 00:00:00 2001 From: tigoe Date: Wed, 12 Jan 2011 03:59:02 -0800 Subject: [PATCH] Changed pin number to reconcile code with drawing on Arduino site. --- .../examples/2.Digital/tonePitchFollower/tonePitchFollower.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/shared/examples/2.Digital/tonePitchFollower/tonePitchFollower.pde b/build/shared/examples/2.Digital/tonePitchFollower/tonePitchFollower.pde index 3b9d7387b..bcc4b6327 100644 --- a/build/shared/examples/2.Digital/tonePitchFollower/tonePitchFollower.pde +++ b/build/shared/examples/2.Digital/tonePitchFollower/tonePitchFollower.pde @@ -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); }