Skip to content

Collection of libraries and helpers for Micropython + Raspberry Pi Pico

Notifications You must be signed in to change notification settings

brenordv/micropython-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc7207e · Mar 15, 2025

History

56 Commits
Feb 2, 2025
Feb 20, 2025
Feb 20, 2025
Mar 15, 2025
Mar 15, 2025
Feb 17, 2025
Feb 8, 2025
Feb 2, 2025
Aug 19, 2024
Feb 16, 2025
Feb 2, 2025
Feb 6, 2025
Feb 6, 2025
Mar 1, 2025
Feb 20, 2025
Feb 6, 2025
Aug 23, 2024
Feb 2, 2025
Feb 2, 2025
Feb 21, 2025
Feb 20, 2025
Aug 19, 2024
Aug 15, 2024
Feb 16, 2025

Repository files navigation

MicroPython Snippets

I save snippets of code in this repository that I use when working with MicroPython.

To understand what each snippet does, please refer to the README file inside the corresponding folder.

One of the main reasons I created this repository is that I frequently lose code from previous projects and have to rewrite everything from scratch. To avoid this, I decided to create some well-structured code snippets that I can reuse in future projects. I hope this repository helps you as much as it helps me.

It's worth noting that not all code snippets are related to sensors. Some are more generic or encapsulate specific functionalities, such as loading a configuration file, handling WiFi connections, making HTTP requests, and more.

Important Notes

  • Unless specified otherwise, all examples assume MicroPython v1.23.0 (2024-06-02) running on a Raspberry Pi Pico.
  • All snippets and classes are provided AS-IS. Although I have tested them, they have not undergone thorough testing. Use them at your own risk. No warranty or guarantee is provided.
  • Each snippet folder includes a Pico pinout image, so everything you need is inside the main folder of the sensor you are working with.