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.1.0.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.1.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kmpico-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 e707404f4a9c2d77a9b134a753bb5621edf6ba0abe848336b8d6d50322e8dd2d
MD5 e2ac84f4fee2efa89b05a6de9bd1cc62
BLAKE2b-256 043092c50b37f8c33b1a1ea4d0c6ce1e9217a23dd791d72328a28b4b7749275f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kmpico-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d7de0cfdc7185e22f862182b3a18b76b48d1da8eb5dce7d068f0ef3cd8fb28e
MD5 67a3668ddf3cd8ca9facc2548f83a9d7
BLAKE2b-256 d39fe72c2cbe41dd4830fc709c55d70c0164020cfce7b767faf9563f2414ef79

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