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
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
microjoy-0.0.2.tar.gz
(2.3 kB
view hashes)