Only available in ScratchGPIO6 Alpha
The Nintendo Nunchuck is basically an I2C device and can be connected cheaply and easily to a Pi using a Multichuck.
It then adds a joystick with 2 buttons and a tilt sensor for Scratchers use in their projects.
Once plugged in, additional sensor values available are:
ButtonZ – On/Off
joystickx left/middle/right
joysticky up/middle/down
angle
tiltx -90 to +90
tilty -90 to +90
and
angle (-180 to 180)
Note: angle is the last angle the joystick was pushed to not its current position
Recent Comments