Skip to content

Latest commit

 

History

History
60 lines (31 loc) · 1.48 KB

README.MD

File metadata and controls

60 lines (31 loc) · 1.48 KB

MicroPython Examples

This repository contains a collection of MicroPython example code for various sensors, actuators, modules, and functionality.

The examples are organized into the following sections:

Basics

Covers basic MicroPython functionality like digital I/O, analog input, serial print, etc.

  • See here for more details.

Digital

Digital input and output examples like blinking LEDs, reading buttons, PWM, etc.

  • See here for more details.

Analog

Reading analog data, performing voltage conversion, input smoothing, etc.

  • See here for more details.

Controls

Basic control circuit examples like using internal pullup resistors.

  • See here for more details.

Modules

Example code using add-on MicroPython modules for various sensors, displays, motors, and more.

  • See here for more details.

Systems

Example code for MicroPython OS functionality like filesystem access, directories, etc.

  • See here for more details.

Lib

Examples of my own written lib including the api call, drawing eye, etc.

External

Example of external functionality like gpio serial control, etc.

  • See here for more details.

Requirements

  • MicroPython board (tested on ESP32, ESP8266)
  • Components required for each example

Contributing

Contributions welcome! Please open an issue or PR for any bugs or improvements.