Hi all,
I have a small starter problem with my LPC2138
I'm using Flash Magic to make the hex file and program it to the arm controller.
I managed to make a serial connection with the terminal on Flash magic, so I can send characters to it.
What I want to do is to print a sentence to the terminal.
this is how I print a character:
void outchar0(char k) { unsigned long a; //local variable U0THR=k; //ascii code to buffer transmitter while((a=U0LSR&0x41)!=0) { } }
"What I want to do is to print a sentence to the terminal."
A simple sence - like, "Hello, world!", perhaps...