Arduino Forum
Problem: initializing member array before loop
Projects
Programming
gfvalvo
September 4, 2025, 11:20am
11
You've defined it inside the function. That makes it local.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Array initialisation in a class
Syntax & Programs
4
2798
May 6, 2021
[SOLVED] Array declare Problem
Programming
4
752
May 5, 2021
initializing objects
Syntax & Programs
7
2021
May 6, 2021
Initialization of object values out of function does not work
Programming
8
863
May 5, 2021
Build Error 'C++ forbids initialization of member' when using custom library
Programming
9
32430
May 5, 2021