Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diyables_pico_joystick-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

DIYables_Pico_Joystick-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for diyables_pico_joystick-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c4e523490135e1504080d7f07361aed8916fbf6c4a3c12d60e328410d725de4
MD5 6c2da68a61ee7a7d67c42e1eebadea00
BLAKE2b-256 e3716a5c10490c5aab516cfa4b9fb89e80d0b4ee9b23991dff10379835b9a771

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DIYables_Pico_Joystick-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc1d975fab3248caa88c29bc7d3f185da2e74afe9c56d60b3f599e77559733d0
MD5 f98d9b321ee330d44e5d73440e3f629b
BLAKE2b-256 6ef1350562ebfcc7f191c7da9053046e883569efb25e0066a8b670c0b511f138

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page