# IMPORT THE TOOLS
# Get the tools you need for pins, reading values, controlling the LED, and waiting.
# Look for: Something that starts with 'import'.
# Example: You need 4 tools.
# SET UP THE KNOB (POTENTIOMETER)
# Set up the knob so it can read how much you turn it.
# Look for: A setup line with something like 'AnalogIn'.
# Example: The knob connects to 'GP26'.
# SET UP THE LED
# Set up the LED so it can get brighter and dimmer.
# Look for: Something with 'PWMOut' (PWM makes the LED change brightness).
# Example: The LED connects to 'GP15'.
# CONVERT THE KNOB’S VALUE INTO VOLTAGE
# The knob gives a big number (0-65535), but we need to turn it into a small number (0-3.3).
# Look for: A formula that changes the knob’s number into voltage.
# Example: You need to multiply by '3.3' and divide by '65535'.
# MAKE THE PROGRAM RUN FOREVER
# The program should keep running over and over to update the LED brightness.
# Look for: A loop that never stops.
# Example: Something that starts with 'while'.
# READ THE KNOB’S VALUE
# Get the current knob position (a number between 0 and 65535).
# Look for: Something with '.value'.
# Example: It’s stored in a variable.
# CONVERT THE KNOB’S VALUE TO VOLTAGE
# Use the formula from earlier to change the big number into voltage.
# Look for: A function call that does the conversion.
# Example: You used this earlier.
# CONTROL THE LED BRIGHTNESS
# Use the knob’s value to change the LED brightness.
# Look for: Something with 'duty_cycle'.
# Example: The bigger the number, the brighter the LED.
# PRINT THE VALUES TO THE SCREEN
# Show what’s happening in the Serial Monitor.
# Look for: A print statement.
# Example: It should show the knob value, voltage, and LED brightness.
# ADD A DELAY
# Make the program wait a little before running again.
# Look for: Something with 'sleep'.
# Example: Use a small delay (like '0.1' seconds).