Joystick Panel for M5 FACE ESP32 Development Kit X/Y Axis Push Button Switch with RGB LED Bar and MEGA328 Insi

Description JOYSTICK is a control column module A joystick is an input device consisting of a stick that pivots on a base and reports its angle or direction to the device it is controlling Same as ENCODER it is compatible with FACE Kit You can have it replace the keycoard panel inside the FACE kit Through IIC you can get the offset data form X Y axis also the button status You can customized the LED behavior as you like JOYSTICK IIC address is 0x5E Product Features 12 RGB LedIIC communicationSimple API for programmingProduct Size 58 2mm x 54 2mm x 10mmProduct weight 30gFunction Control single RGB Parameter indexOfLED 0 11r g b 0 254 void Led int indexOfLED int r int g int b Wire beginTransmission FACE JOY ADDR Wire write indexOfLED Wire write r Wire write g Wire write b Wire endTransmission Copy to clipboardErrorCopiedRead the offset of each directionvoid get joystick offset void Wire requestFrom FACE JOY ADDR 5 if Wire available y data L Wire read y data H Wire read x data L Wire read x data H Wire read button data Wire read Z 0 released 1 pressed Copy to clipboardErrorCopiedPackage Included 1x M5Stack JOYSTICK Module board1x Joystick BarRelated Link Offical VideoForumThe Firmware of inside MEGA328EasyLoaderclick to download EasyLoader2 After downloading the software double click to run the application connect the M5 device to the computer via the data cable select the port parameters and click Burn to

Price history

Apr 18, 2022
€18.65

Manufacturer

M5Stack