#include <LPC21xx.H> void uart0_init() {
PINSEL0 = 0x00000005; U0LCR = 0x83; U0DLL = 97; U0LCR = 0x03; }
void uart0_putc(char c) { while(!(U0LSR & 0x20)); U0THR = c; }
void uart0_puts(char *p) { while(*p) { uart0_putc(*p++); } }
int main (void) { uart0_init(); while (1) { uart0_puts ("s"); } }
Are clocks enabled, can you see a signal on the wire with an scope? Are there some examples in the ARM\boards or example directories, or documentation for your board. What's with the periods?