Raspberry Pi Pico: Make a Button Control an LED
Wire a button and an LED to a Raspberry Pi Pico in Mokxi, use INPUT_PULLUP and debounce the press so one tap toggles the light exactly once.
News from the workbench: what we shipped, how it works and guides for building with it. Follow by RSS or see every update.
Wire a button and an LED to a Raspberry Pi Pico in Mokxi, use INPUT_PULLUP and debounce the press so one tap toggles the light exactly once.
Sweep a hobby servo back and forth, then turn it with a potentiometer on an Arduino Uno. Wiring, full sketches and jitter fixes, in your browser.
A 45-minute first circuit lesson for teachers: an LED and a button on an Arduino Uno in the browser, with goals, steps, hand-in and common mistakes.
Debug an empty serial monitor on an Arduino Uno in Mokxi: the missing Serial.begin, an odd baud rate and the other usual causes, with fixes.
Import a Wokwi diagram.json and sketch into Mokxi, see what carries over, and read the import report that names anything that does not.
Wire an HC-SR04 to an Arduino Uno in Mokxi, time the echo with pulseIn, print centimeters to the serial monitor and smooth jumpy readings.
Wire three LEDs to an ESP32-C3 and run a traffic light with a millis() state machine, no delay(), in your browser with Mokxi.
Wire a DHT22 to an Arduino Uno in Mokxi, read temperature and humidity on the serial monitor, and learn why a reading comes back NaN.
A beginner tutorial. Blink an LED, fade it with PWM, then add a button that switches between the two on an Arduino Uno, all in your browser.
Build an Arduino Halloween jump-scare box in your browser first. The wiring, the real sketch walked through line by line, and what to tune before October 31.