Problem: "array must be initialized with a brace-enclosed initializer"

so i got the problem that i tried to write a text on my 8x8 LED-Matrix and it says: “array must be initialized with a brace-enclosed initializer”

so i wrote in my programm:

char text[100] = Random;

maybe someone can help me with that problem.

led_lauftext_bluetooth.ino (9.3 KB)

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

This may help you to format your array;

https://www.arduino.cc/reference/tr/language/variables/data-types/array/

Tom... :slight_smile:

array must be initialized with a brace-enclosed initializer
char text[100] = Random;

No text and no braces

char text[100] = {"Random"};

With text and braces, but I suspect that you don't really want the word Random there anyway