# Led dimming with a potentiometer.

**URL:** https://forum.makecode.com/t/led-dimming-with-a-potentiometer/10538
**Category:** micro:bit
**Created:** [October 22, 2021, 9:16pm UTC](https://forum.makecode.com/t/led-dimming-with-a-potentiometer/10538 "2021-10-22T21:16:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aliceinwonderland](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@aliceinwonderland](https://forum.makecode.com/u/aliceinwonderland)
#### Post date: [October 22, 2021, 9:16pm UTC](https://forum.makecode.com/t/led-dimming-with-a-potentiometer/10538/1 "2021-10-22T21:16:56Z")

</div>

Hi!

It seems that the more basic thing, escapes from my intellect. And I find it super logic in my head to do it that way…anyway, here we go:

 ![Captura de pantalla (191)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/14cb68bf975d404cd5f4f14f416c9c4c7ac0d8b9.png)

(I’m using thge octopusbit expansion board, with allready wired sensors)

Thanks a lot in advance
