CART
  • Cart is empty.

    ItemQuantityPrice

    Total: $0

Hello World simple program


A simple hello program. Initialize system and prints "Hello World" to UART0 port.

Toolkit:SDCC 8051 Development System

Location:/bipom/devtools/SDCC/examples/hello/

Code Example


main()
{
   /* Set the serial port to 19200 Baud */
   serinit(CBR_19200);
   printf("Hello World\n\r");
   for(;;); // dead loop

}