I've done a fair bit of programming for Arduino, but have now been puzzled by a strange (to me) problem. Here are the details. First I try to declare an array of six 32-bit unsigned numbers:
unsigned long ADFReg;
Then I try to set the value of each array element, thus:
ADFReg = 0x4580A8; ADFReg = 0x80080C9; and so on...
But when I attempt to verify and compile, I get this error message for each of the value set lines:
'ADFReg' does not name a type
So what am I doing wrong? I have already tried changing the declaration line by inserting 'int' in between 'unsigned' and 'long', but this had no effect.
Can anyone tell me how to fix this one, please?
Jim Rowe :confused: