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
Release files for DIYables-MicroPython-Joystick 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| diyables_micropython_joystick-0.1.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DIYables_MicroPython_Joystick-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / diyables_micropython_joystick-0.1.0.tar.gz
| Download URL | diyables_micropython_joystick-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cea7e09fa46be11a29297c547be4ba87d54b5e232a474b50101c98973cd0db0e
|
|
BLAKE2b-256 checksum How to use checksums |
d4f78c77b5cc6188aa80c20daaa62f2020c3a3c34f070b8e5c1c1310ca3f56b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / DIYables_MicroPython_Joystick-0.1.0-py3-none-any.whl
| Download URL | DIYables_MicroPython_Joystick-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f0e5b2b35c1f3a18b1a2bc7cbdcb27e2c5bc48a1b987beca49f4bbcb1d66264
|
|
BLAKE2b-256 checksum How to use checksums |
548d068f638ee925b47dc4cedb1f848550b40ac0987e85b9fdd96f6881d18308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|