Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHey,
This is a function thats send one byte to the UART void UART1_T(unsigned char ch) { while((IORD_ALTERA_AVALON_UART_STATUS(UART1_BASE) & 0x040) != 0x040){ ;} IOWR_ALTERA_AVALON_UART_TXDATA(UART1_BASE,ch); } You only have to change UART1_BASE address to your UART address that you can find back in your system.h file Good luck Regards Karel