I used 1820_2.c sample file in 16F877 routines folder of CCS, compiled it but error occur like this:
"Error 51: A numeric expression must appear here"
Code:
d[n] = get_flash_eeprom_byte(adr);
Anybody can help me please? Thanks so much.
Ttelmah
Joined: 11 Mar 2010 Posts: 19510
Posted: Tue Mar 27, 2012 4:25 am
The error won't be here.
It'll be somewhere earlier in the file. Either a syntax error (just a missing ';' for example), or that one of the definitions used for one of the variables, doesn't match what the line expects.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum