Forum Discussion
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_...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Why not format a string first? char str[80]; int data; data = <read from the LED> sprintf(str, "LED value is 0x%X", data); alt_up_character_lcd_string(char_lcd_dev, str); Cheers, Dave --- Quote End --- Dave you're a hero. I didn't think i could do it like that. Works a charm Thankyou