Skip to content

mattytrentini/micropython_nunchuk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micropython_nunchuk

A MicroPython module for interfacing with Nintendo Nunchuk controllers.

Allows for reading of:

  • Joystick position
  • Button states
  • Accelerometer state

Installation

Use mip (see MicroPython Package management):

> mpremote mip install github:mattytrentini/micropython_nunchuk

Example

See examples/nunchuk_simpletest.py.

Full example:

> mpremote mount . run examples/nunchuk_simpletest.py
Local directory . is mounted at /remote
Scan results: [82]
joystick = 128,128
accceleration ax=292, ay=527, az=584
joystick = 128,128

About

MicroPython driver for the Nunchuk controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%