I am facing a problem with arrays.
The task is to grab 10bits of ADC result into array elements.
This works OK:
word_temp.byte0=adresl
word_temp.byte1=adresh
array[i]=word_temp
But this does not:
array.highbyte[i]=adresh
array.lowbyte[i]=adresl
Is something wrong with the above syntax?
Ioannis
Bookmarks