I have an array called ani
byte ani[][10] ={
{27,236,63,254,255,191,207,199,57,36},
{27,236,36,146,193,160,72,68,41,36},
{27,236,63,254,255,191,207,199,57,36},
{27,236,36,146,193,160,72,68,41,36}};
in my setup i call void animation with parameter the ani animation
void setup(){
Serial.begin(115200);
Animatie(ani);
}
void Animatie(byte Animation [][10]){
Serial.println(sizeof(Animation)));
}
But i always get a 0
if i change it to
Serial.println(sizeof(ani));
it works but i don't want that i want to use the variable.
Kind regards
Johan