Skip to main content

kyungmoon_A user-friendly MicroPython library for Raspberry Pi Pico to control various sensors and modules.

Project description

kmpico - MicroPython Library for Raspberry Pi Pico

A user-friendly MicroPython library for Raspberry Pi Pico to easily control various sensors and modules like LEDs, buzzers, motors, DHT sensors, OLED displays, and more.

⚠️ Important Note

This is a MicroPython library. It cannot be installed on a standard computer using pip. You need to transfer the files to your Raspberry Pi Pico's filesystem.

Installation

  1. Connect your Raspberry Pi Pico to your computer.
  2. Using a tool like Thonny IDE, copy the entire kmpico folder to the /lib directory on your Pico.

Dependencies

This library requires the following external libraries to be present on your Pico's filesystem. Please install them separately:

  • dht.py
  • ssd1306.py
  • neopixel.py

Basic Usage

from kmpico import DigitalLED
from time import sleep

# Assuming an LED is connected to GP15
led = DigitalLED(15)

while True:
    led.on()
    sleep(1)
    led.off()
    sleep(1)
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kmpico-0.0.1.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kmpico-0.0.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file kmpico-0.0.1.tar.gz.

File metadata

  • Download URL: kmpico-0.0.1.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for kmpico-0.0.1.tar.gz
Algorithm Hash digest
SHA256 75f02534b43360a129eb46827fc3d976bd927b58fec5f401f99ababed53ae19d
MD5 6f9911f71c6fc71251e6f2f1d1fc63c6
BLAKE2b-256 0961e3ee54c7652e0c0f7f20b61cbe8dd5300ce48d39303e9494bdb3d3af17ca

See more details on using hashes here.

File details

Details for the file kmpico-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kmpico-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for kmpico-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9d3745ab19ef07a122c4fb7166afc1753fc6fc8d912a815f852005ee112a19c
MD5 9394f5c6bb94c638cc573e2ad81f0438
BLAKE2b-256 81122e303ea260841ab1ca5559f3258a8a5da38940c6a05d4f5d2addef861416

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page