G'day all,
I'm embarrassed to have to ask such an elementary question on this forum, but I can't find an answer that suits what I'm trying to do.
I have 2 arrays defined like this :
byte displayDigitsBank1[] = {char_space,char_space,char_space,char_space,char_space,char_space,char_space,char_space,char_space};
byte displayDigitsBank2[] = {char_space,char_space,char_space,char_space,char_space,char_space,char_space,char_space,char_space};
From there, based on which bank is selected, I'm trying to assign one of those arrays to a new array variable, like this :
if(bankNumber==1)
{
byte displayDigits[]=displayDigitsBank1[];
}
///...else if bankNumber==2 etc etc
Any help to get me past this would be most appreciated.
Cheers...