LED dimming

Assignment

Use the Micro Bit and the Inventor’s Kit to program a LED with brightness adjustment via the potentiometer. Use the Analog Digital Converter (ADC) at the pin of the potentiometer and Pulse Width Modulation (PWM) for the LED.
If you need any help, take a look into the worksheet or watch the tutorials.

Blockcode