Forum Discussion
Altera_Forum
Honored Contributor
14 years agoWhy 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, DaveWhy 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