MicroPython Library for Joystick, created by DIYables
Project description
MicroPython Joystick Library - DIYables_MicroPython_Joystick
This MicroPython library is designed for any hardware plaform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit... to make it easy to use with joystick. It is easy to use for not only beginners but also experienced users...
It is created by DIYables to work with DIYables Joystick, but also work with products from other brands. Please consider purchasing products from DIYables Store on Amazon to support our works.
Features
- Works with any hardware plaform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit...
Product Link
Available Functions
- __init__(pin_x, pin_y, pin_button, mode=Pin.PULL_UP)
- read_x()
- read_y()
- read_button_state()
- is_pressed()
- is_released()
- get_press_count()
- set_press_count_mode(mode)
- reset_press_count()
- set_debounce_time(time_ms)
- loop()
Available Examples
- main.py
Tutorials
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file diyables_micropython_joystick-0.1.0.tar.gz
.
File metadata
- Download URL: diyables_micropython_joystick-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cea7e09fa46be11a29297c547be4ba87d54b5e232a474b50101c98973cd0db0e |
|
MD5 | f7a21480889dc3eb2053f9aa59cb3676 |
|
BLAKE2b-256 | d4f78c77b5cc6188aa80c20daaa62f2020c3a3c34f070b8e5c1c1310ca3f56b2 |
File details
Details for the file DIYables_MicroPython_Joystick-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: DIYables_MicroPython_Joystick-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f0e5b2b35c1f3a18b1a2bc7cbdcb27e2c5bc48a1b987beca49f4bbcb1d66264 |
|
MD5 | 275ca3dfc19d89ca60efa3ca0c3a0188 |
|
BLAKE2b-256 | 548d068f638ee925b47dc4cedb1f848550b40ac0987e85b9fdd96f6881d18308 |