Skip to content

Commit ad500ae

Browse files
committed
Update incorrect docs in tonePitchFollower example
The comments state that the speaker should be on pin 8, but the code references pin 9. Updated the comments to reflect the correct pin.
1 parent fc8103c commit ad500ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/shared/examples/02.Digital/tonePitchFollower/tonePitchFollower.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plays a pitch that changes based on a changing analog input
55
66
circuit:
7-
* 8-ohm speaker on digital pin 8
7+
* 8-ohm speaker on digital pin 9
88
* photoresistor on analog 0 to 5V
99
* 4.7K resistor on analog 0 to ground
1010

0 commit comments

Comments
 (0)