Arduino Forum
Passing a value to functions held in an array of functions
Projects
Programming
gfvalvo
October 7, 2021, 8:38pm
3
Try:
void (*functions[])(int) = {func0, func1};
Edit:
What he said.
show post in topic
Related topics
Topic
Replies
Views
Activity
Store functions, with variable function signatures, inside an array
Programming
15
3774
May 5, 2021
Functions in Arrays
Troubleshooting
9
4842
May 6, 2021
Can Arrays be passed to functions?
Syntax & Programs
12
4347
May 6, 2021
Passing function as argument ?
Programming
8
2721
May 5, 2021
Call function from an array
Programming
5
1177
May 5, 2021