Socket
Book a DemoInstallSign in
Socket

kmpico

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmpico

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

0.0.2
pipPyPI
Maintainers
1

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

  • Connect your Raspberry Pi Pico to your computer.
  • 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)
    

Keywords

micropython

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.