Altera_Forum
Honored Contributor
14 years agoWriting integer value out to LCD on DE2 board
I'm using the university program 16x2 character display component in SOPC builder and i can write text to the LCD via a C program in NIOS II no problem. eg ...
alt_up_character_lcd_string(char_lcd_dev, "Hello Altera Forum!"); But, i have a 7 bit PIO value defined as# define switches (volatile char*) 0x00101060 How can i display this on the LCD ? i know how to do it with standard C and printf but not this. I have looked through the document for this component and there is another function called alt_up_character_lcd_write but it doesn't give an example of it should be used