Displaying array contents on LEDs
Posted: 16 Jul 2010 12:35
Hello,
I have some code which writes either 1's or 0's to populate an array of integers (int MyArray[14]).
This compiles fine, but when I try to add some code to display the content of some of the array elements (PORTB.B0 = MyArray[0]) I get compilation errors.
What am I doing wrong?
Thanks for any guidance,
Jimbo
PS I am using the PIC5 Dev board with a PIC16F887 chip
I have some code which writes either 1's or 0's to populate an array of integers (int MyArray[14]).
This compiles fine, but when I try to add some code to display the content of some of the array elements (PORTB.B0 = MyArray[0]) I get compilation errors.
What am I doing wrong?
Thanks for any guidance,
Jimbo
PS I am using the PIC5 Dev board with a PIC16F887 chip