Latest/current factory demo sketch for Uno R4 WiFi

Hi

What's the demo sketch for the latest/current Uno R4 WiFi, and is it available in any of the GitHub repos?

I recently purchased one for a project, and the factory installed demo sketch runs an LED matrix animation which features a heart, a snake game, and (I think) the Arduino "infinity" logo.

I'd like to get a copy of this sketch before overwriting it.

Thanks!

Tom

Welcome to the forum

Take a look at the Matrixintro example that is installed with the board files

Hi @wombatonga. I see @UKHeliBob already provided the answer while I was writing my reply, but since mine contains a bit more information I'll post it anyway:

The factory sketch is provided as one of the examples of the "LED_Matrix" library. That library is bundled with the installation of the "Arduino UNO R4 Boards" platform that adds support to Arduino IDE/Arduino Cloud Editor for the UNO R4 WiFi board.


If you are using Arduino IDE, you can open it by the following procedure:

  1. Select Tools > Board > Arduino UNO R4 Boards > Arduino UNO R4 WiFi from the Arduino IDE menus.
  2. Select File > Examples > LED_Matrix > MatrixIntro from the Arduino IDE menus.

If you are instead using Arduino Cloud Editor, you can open it by the following procedure:

  1. If you are not already, log in to your Arduino account:
    https://login.arduino.cc/login
  2. Click the following link to open the list of your Arduino Cloud sketches in the web browser:
    https://app.arduino.cc/sketches
  3. Click on any sketch, or use the CREATE > New sketch button to create a new sketch.
    The sketch will open in Arduino Cloud Editor.
  4. Select the "Libraries" icon from the bar on the left side of the Cloud Editor window to open the Libraries panel.
  5. Type LED_Matrix in the "Search libraries" field of the panel.
  6. Find the entry for the "LED_Matrix for renesas_uno" library in the search results.
  7. Click the "❯ Examples" under the "LED_Matrix for renesas_uno" entry.
    A list of all the example sketches of the library will appear.
  8. Click on the "MatrixIntro" example.

Please let us know if you have any questions or problems while following those instructions.

Thanks @UKHeliBob @ptillisch for the quick replies! Much appreciated.

I have seen that sketch in the examples, but haven't compiled/uploaded yet (wanted to confirm which one the board was pre-loaded with).

Thanks again!

Tom

Hi @ptillisch I am using a brand new Arduino® UNO R4 WiFi – 32-bit MCU with WiFi & Bluetooth — Arduino Official Store and can’t find that example sketch. I’d like to be able to archive it before uploading anything.

This is from the Arduino IDE Version 2.3.8:

Can you point me in the direction of the MatrixIntro example? I can’t find it in any of those submenus.

You're probably selecting the Arduino UNO (without R4).

If that were the case then this menu section would not appear

The matrixintro example is here

You're right. Sorry but I had missed it:

Mine is:

:+1:

It appears it’s not included by default, so had to search for it and install it manually:

Once installed, it appears:

FYI I still can’t find that exact factory installed demo sketch, but I can pull together those specific examples to create one.