Skip to content

LED Dimmer MicroSim Prompt

Prompt

Please create a new P5.js MicroSim using the MicroSim skill at https://github.com/dmccreary/microsims/tree/main/skills/microsim-p5

The MicroSim is called "LED Dimmer". Use a directory name "led-dimmer".

The MicroSim will demonstrate how the LED dimmer circuit works. It will use the component list and connections in the /docs/kits/led-dimmer/index.md file. The layout is also in the png file led-dimmer-circuit.png. Add a slider that changes the value of the potentiometer.

It will used the animated-wire function in the /docs/sims/animated-wire/animated-wire.ps file.