Joystick Library for with Raspberry Pi Pico, created by DIYables
Project description
Joystick Library for Raspberry Pi Pico - DIYables_Pico_Joystick
This MicroPython library is designed for Raspberry Pi Pico 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 Raspberry Pi Pico board.
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_pico_joystick-0.1.0.tar.gz
.
File metadata
- Download URL: diyables_pico_joystick-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4e523490135e1504080d7f07361aed8916fbf6c4a3c12d60e328410d725de4 |
|
MD5 | 6c2da68a61ee7a7d67c42e1eebadea00 |
|
BLAKE2b-256 | e3716a5c10490c5aab516cfa4b9fb89e80d0b4ee9b23991dff10379835b9a771 |
File details
Details for the file DIYables_Pico_Joystick-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: DIYables_Pico_Joystick-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 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 | dc1d975fab3248caa88c29bc7d3f185da2e74afe9c56d60b3f599e77559733d0 |
|
MD5 | f98d9b321ee330d44e5d73440e3f629b |
|
BLAKE2b-256 | 6ef1350562ebfcc7f191c7da9053046e883569efb25e0066a8b670c0b511f138 |