You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use unambiguous pin name for Knob example's analog input
The previous use of "0" for the potentiometer pin can be a source of confusion because the correct connection is not to the pin on the board marked "0".
Although analogRead() supports either analog channel number or pin name, it is most user friendly to use the pin name as it is labeled on the Arduino boards.
This change is compatible with the tutorial, which shows the pin as "A0" in the schematic, and refers to it as "analog input 0" in the description.
0 commit comments