Encoder Module for M5Stack FACES ESP32 Pocket Computer with 12pcs RGB LED MEGA328 Inside I2C

Encoder Module for M5Stack FACES ESP32 Pocket Computer with 12pcs RGB LED MEGA328 Inside I2C
M5Stack
sku: 1538395
$9.99
Shipping from: China
   Description
Description ENCODER is compatible with FACE Kit You can have it replace the keycoard panel inside the FACE kit It is designed for rotary encoder control integrated Mega328 microprocessor inside and LEDs around the encoder The series communication protocol between M5 core and ENCODER is IIC adress 0x5E Product Features 12 RGB LedIIC communicationSimple API for programmingMega328 insideEncoder detectionProduct Size 58 2mm x 54 2mm x 10mmProduct weight 17gEasyLoaderclick 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 start burning 3 The CP210X USB driver needs to be installed before the EasyLoader is burned Click here to view the driver installation tutorialFunction Control single RGB Parameter led index 0 11r g b 0 254 void Led int led index int r int g int b IIC send dataWire beginTransmission Faces Encoder I2C ADDR Wire write led index Wire write r Wire write g Wire write b Wire endTransmission Copy to clipboardErrorCopiedRead encoder incrementvoid get encoder increment void int temp encoder increment IIC read dataWire requestFrom Faces Encoder I2C ADDR 3 if Wire available temp encoder increment Wire read get incrementbutton state Wire read get button value if temp encoder increment127 anti clockwisedirection 1 flag for encoder directionencoder increment
   Price history chart & currency exchange rate

Customers also viewed