Hi M5Stack team,
I’m currently developing with the M5StickC using the Arduino IDE, and working with the Unit Roller485 Lite module in I2C mode.
I’ve set the module to Speed Mode using RollerI2C.setMode(ROLLER_MODE_SPEED), and tried reading the encoder counter using RollerI2C.getDialCounter().
However, I noticed that the counter value only changes when the module is set to ROLLER_MODE_ENCODER. While in Speed Mode, getDialCounter() always returns the same value, even though the motor is moving.
From the currently available documentation and APIs, I couldn’t find any way to retrieve encoder counter values while in Speed Mode.
My questions are:
1. Is it possible to read the encoder counter value in I2C mode while the motor is operating in Speed Mode?
2. I’m not looking to switch modes dynamically. I would like to read the encoder value independently of the current mode — is this supported?
3. If not currently supported, is there any plan to add this functionality in future firmware or library updates?
Thank you for your support.