Welcome to the DFRobot blog
:
www.dfrobot.com/blog-tag-microbit.html
29
/
86
STEP 2: The brightness of the LED is linked to the input value of the knob. The knob is an analog input
module, which means it generates a signal range from 0 - 1023, by which controls the brightness of
the LED correspondingly. The “analog read” function is under “Pins”. Also, remember to set the pin
to P0.
STEP 3: The LED is now used as an analog output module. Similarly, the analog output signal is also
ranged from 0-1023. "Analog write" function can be found under “Pins”