You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While i was trying to hookup this breakout board to esp-32 and loaded basic example code, it seems that RGB values in setup are being set by esp-32, but when i move the trackball it does not appear to update the left, right, up and down position. then again i tested it on Arduino Uno it worked fine.
So it seems for some reasons support for esp-32 is broken.
Serial monitor output with esp-32.
Serial monitor output with Arduino.
Compiler Warning;
D:\Arduino\libraries\pimoroniTrackball-0.1.2\src\pimoroniTrackball.cpp: In member function 'bool pimoroniTrackball::isConnected()':
D:\Arduino\libraries\pimoroniTrackball-0.1.2\src\pimoroniTrackball.cpp:37:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
_i2cPort->requestFrom(_trackballAddress, 2, true);
^
The text was updated successfully, but these errors were encountered:
…) that caused it to fail on ESP32 and maybe other targets
Fix compiler warnings for use of TwoWire.requestFrom(int, int, int)
Fix some style issues and tidy up
While i was trying to hookup this breakout board to esp-32 and loaded basic example code, it seems that RGB values in setup are being set by esp-32, but when i move the trackball it does not appear to update the left, right, up and down position. then again i tested it on Arduino Uno it worked fine.
Arduino ESP-32 Core Version: 2.0.3
ESP-32 board tested on ESP-32 TINY-PICO.
So it seems for some reasons support for esp-32 is broken.
Serial monitor output with esp-32.
Serial monitor output with Arduino.
Compiler Warning;
The text was updated successfully, but these errors were encountered: