Cannot install Arduino_LED_Matrix library for Arduino Uno Q

As seen here in this screenshot from the App Lab software (running on macOS Monterey on an Intel Mac Pro), I can locate the library but when I select “Install” to add the library to my App Lab sketch, nothing happens. The listed 0.51.0 is the only available version. Other libraries such as FastLED can be installed and removed from the project without any problems. The App Lab version is 1.28 and the Uno Q has the latest updates using the ./arduino-flasher-cli flash latest command which was successful. The board has been additionally scanned by the App Lab IDE itself for updates, until it showed that no more were available and it was ready for use.

Hi @Ripred,

The Arduino Zephyr Core for Uno Q already provides the Arduino_LED_Matrix library. You don't need to install it explicitly.

Please see ArduinoCore-zephyr/libraries/Arduino_LED_Matrix at main · arduino/ArduinoCore-zephyr · GitHub

Ahh you are right. I was trying to work around an error caused when I tried to make use of std::vector and std::list and I misinterpreted the error. I got the matrix working by using plain C arrays and a couple of ints to track the sizes. Thanks for the quick response.

update: Space Invaders on the Arduino Uno Q LED Matrix - Hackster.io

1 Like

I used std::list in a few experiments, and it should work:

// The Bounding Box
struct Box {
  unsigned int x;
  unsigned int y;
  unsigned int w;
  unsigned int h;
};

// The list for collecting the received Bounding Boxes
std::list<Box> boxesList {};