Motor and Pot

I found a mini error in the code for the potentiometer circuit (Circuit 08, Page 23). In the “Making it better” section, for fading the LED, int sensorPin = A0 should be replaced with int potPin = A0.