help in pic877a with 2d array ...

Thread Starter

RRITESH KAKKAR

Joined Jun 29, 2010
2,829
Hi,

I need your help while making programing for font in LEd matrix......
so, 1D array is working fine
Rich (BB code):
int a[5]={0xc,0x2,0x5,0x8,0A};
while 2D array is always showing error.(Synatx and {/ ;}

Rich (BB code):
int a[2][5]={
{0xc,0x2,0x5,0x8,0A, }
{0xc,0x2,0xa,0x8,0b, }
};
please help me with a hint how to use 2D array...in MPlab 8.77
 

Thread Starter

RRITESH KAKKAR

Joined Jun 29, 2010
2,829
Actually, I am have to read the data from array..
so, i need to read it by selecting from row and column.
int a[0][0]= PORTB;
doing like this will work or not??
 

Thread Starter

RRITESH KAKKAR

Joined Jun 29, 2010
2,829
I have solved that silly problem missing ,
I was initializing font through it but only few were saved because of memory space was near to full 89.9%
so, i watched program spaced and EEPROM was empty!! how to use it??
 
Top