Skip to main content

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


Download files

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

Source Distribution

diyables_micropython_joystick-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for diyables_micropython_joystick-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cea7e09fa46be11a29297c547be4ba87d54b5e232a474b50101c98973cd0db0e
MD5 f7a21480889dc3eb2053f9aa59cb3676
BLAKE2b-256 d4f78c77b5cc6188aa80c20daaa62f2020c3a3c34f070b8e5c1c1310ca3f56b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DIYables_MicroPython_Joystick-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0e5b2b35c1f3a18b1a2bc7cbdcb27e2c5bc48a1b987beca49f4bbcb1d66264
MD5 275ca3dfc19d89ca60efa3ca0c3a0188
BLAKE2b-256 548d068f638ee925b47dc4cedb1f848550b40ac0987e85b9fdd96f6881d18308

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