This repository features the conversion of Arduino built-In examples to MicroPython.
Built-In Examples are sketches found in the Arduino Software (IDE); to access them, select File > Examples from the toolbar menu. These easy programs show how to use all of the Arduino's basic commands. They cover anything from the bare minimum of a sketch to digital and analog IO, as well as the use of sensors and displays.
- Analog Read Serial: Read a potentiometer, print its state out to the Serial Monitor.
- Blink: Turn an LED on and off.
- Digital Read Serial: Read a switch, print the state out to the Serial Monitor.
- Fade: Demonstrates the use of analog output to fade an LED.
- Read Analog Voltage: Reads an analog input and prints the voltage to the Serial Monitor.
- Blink Without Delay: Blink an LED without using the sleep() function.
- Button: Use a pushbutton to control an LED.
- Debounce: Read a pushbutton, filtering noise.
- Digital Input Pullup: Demonstrates the use of Pin.PULL_UP.
- Analog In Out Serial: Read an analog input pin, map the result, and then use that data to dim or brighten an LED.
- Calibration: Define a maximum and minimum for expected analog sensor values.
- Fading: Use an analog output (PWM pin) to fade an LED.
- Smoothing: Smooth multiple readings of an analog input.
- ASCIITable: Demonstrates ESP32's advanced serial output functions.
- Dimmer: Move the mouse to change the brightness of an LED.
- Physical Pixel: Turn a LED on and off by sending data to your ESP32 from Processing or Max/MSP.