Octopus Analog Rotation Brick OBARot
1 x Analog Rotation Brick
1 x Analog Sensor Cable
Connect analog rotation brick to P0 port on OCTOPUS:BIT.
You can see the whole program from the link here: https://makecode.microbit.org/_TrhMPC0Xt4Ce
Or you can download it from the page below.
Rotate the knob on analog rotation brick in clockwise direction, then LEDs on micro:bit screen will be turned on gradually. Rotate the knob in anti-clockwise direction, then LEDs will be turned off one by one.
Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials.