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.
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.
Fixes https://github.com/arduino/Arduino/issues/8042