Hello!
It's been ages since I've done programming and I can't remember how to do conversions of data types. I'm using UART to transmit data through the serial RS232 but the function to do so only takes int...
void putsUART1(unsigned int *buffer) __attribute__ ((section (".libperi")));
void WriteUART1(unsigned int data) __attribute__ ((section (".libperi")));
so I can send integers that's fine but how do I do it if I want to print character strings?? something like "hello world"?
Oh right and this is in C by the way!
much thanks
It's been ages since I've done programming and I can't remember how to do conversions of data types. I'm using UART to transmit data through the serial RS232 but the function to do so only takes int...
void putsUART1(unsigned int *buffer) __attribute__ ((section (".libperi")));
void WriteUART1(unsigned int data) __attribute__ ((section (".libperi")));
so I can send integers that's fine but how do I do it if I want to print character strings?? something like "hello world"?
Oh right and this is in C by the way!
much thanks
Last edited: