From a PWM fade to a 120 ms blink on an ESP32, using MicroPython in the browser #20014
yubot-technology
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We built a browser workbench for MicroPython and recorded a first-run test on an ESP32. The camera stays on the physical board so you can compare its LED with the simulator.
The wiring in this example is GPIO2 → 330 Ω resistor → LED anode, with the cathode to ground. The first program varies the PWM duty cycle to fade the LED. The second drives the same pin high for 120 ms and low for 120 ms. If you try this with an onboard LED, check your board’s pinout and polarity first.
The English walkthrough covers selecting firmware, checking the interpreter over USB serial, and running both versions. It also shows how we pass the wiring diagram to the optional coding assistant and keep the pin assignment in project memory for the next edit. Short board demo
The hosted workbench is our closed-source beta and requires an account. If you try it, which board and browser did you use, and did you get from the firmware check to the first blink? A report of the exact step that got in your way would help us improve the tutorial.
All reactions