Forum Discussion
Altera_Forum
Honored Contributor
20 years agoa problem when i build my project
my program:#include "system.h"# include "altera_avalon_pio_regs.h"# include "alt_types.h"# define ccomm 0x00;# define cdata 0x01; void init_lcd(void); void write_lcd(alt_u8 data_comm,al...
Altera_Forum
Honored Contributor
20 years agoYou HAVe to remove the ";" from your defines. I had the same problem and got almost mad, until i found a "," after define.
After a# never use a semicolon.