By default, the LPC810_CodeBase you downloaded is setup to run a blinky example on pin 0.2, and it spits out 'Hello, LPC810!' on the default UART pins, which we can see in the 'while(1)' super-loop in main.c, shown below:
while(1) { #if !defined(USE_SWD) /* Turn LED Off by setting the GPIO pin high */ LPC_GPIO_PORT->SET0 = 1 << LED_LOCATION; mrtDelay(500); /* Turn LED On by setting the GPIO pin low */ LPC_GPIO_PORT->CLR0 = 1 << LED_LOCATION; mrtDelay(500); #else /* Just insert a 1 second delay */ mrtDelay(1000); #endif /* Send some text (printf is redirected to UART0) */ printf("Hello, LPC810!\n"); }
Blinky is following by our printf() statement, and by default all printf output is redirect to UART0 on the LPC810.
Before worrying about writing and programs, though, lets build the firmware as-is!