Skip to main content

biblioteca para leitura de joystick com micropython

Project description

comu

init

from j.joy import Joy

j = Joy(35)

while True:
    print(j.read())

escala

from j.joy import Joy

j=Joy(35,escala=(-10,10))

while True:
    print(j.read())

inverter o valor

from j.joy import Joy

j=Joy(35, invert=True)

while True:
    print(j.read())

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

microjoy-0.0.3.tar.gz (2.3 kB view hashes)

Uploaded Source

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