What is the preloaded sketch delivered with the Uno R4 WiFi (from the R4 starter kit)?

The web claims it is the Examples > LED_Matrix > MatrixIntro, but this is not quite the sketch. Is the preloaded sketch available?

Do you mean the UNO R4 Minima? That has no LED matrix. The MatrixIntro example sketch is the default for the UNO R4 WiFi. I have never seen the board included with the R4 starter kit, so how is that different from MatrixIntro?

Hi @ggolden22.

Please provide a detailed description of exactly what it is you observe after uploading the "MatrixIntro" sketch to the UNO R4 WiFi board that differs from the preloaded sketch.

It is just a standard UNO R4 WiFi:

Sorry about the typo in the topic (fixed). The sketch has been replaced on my Uno, but it had a snake like game, maybe an infinity symbol, then the beating heart.

Thanks for the clarification. The "snake" animation you are referring to comes from the "provisioning" program that is automatically uploaded to the board when you set it up as an Arduino Cloud IoT Device. I believe this is the sketch:

The animation is provided by the "Arduino_NetworkConfigurator" library:

Of course that "provisioning" sketch does much more than only displaying the animation. If you only want to display the "snake" animation, you can use this simple sketch:

#include <Arduino_NetworkConfigurator.h>

void setup(){
  LEDFeedbackClass::getInstance().begin();
  LEDFeedbackClass::getInstance().setMode(LEDFeedbackClass::LEDFeedbackMode::BLE_AVAILABLE);
}

void loop() {
  LEDFeedbackClass::getInstance().update();
}

Have wondered that myself. Purchased the Uno R4 Starter Kt, came with Uno R4 WiFi, seems like a cool kit. When I plugged in the board there were some updates that took place and the LED matrix had a nice little thing going on. The heat beat then into drawing the Arduino Cloud logo. At first did not understand the cloud logo.

Have read that it is in the examples library of IDE under Uno R4, have looked through the library and can find the heart, just not with the cloud logo. Hmmm…

1 Like