UART Code Example

I am wanting to use the UART to read/write to the 0/1 pins. Is there any example code for this floating around? (I have a decillima).

Sorry if this is a repost but I couldn't find anything.
Cheers,
Pooh

See serial.begin(), serial.read(), serial.print() serial.available() , etc on the documentation page, and quite nearly every example sketch ever written.

-j

Maybe I phrased this wrong. I want to use UART without using the SoftwareSerial library.

Serial is the hardware serial library, for use with pins 0 and 1.

SoftwareSerial is the software serial library, for use with other pins.

If you want to use the UART then Serial is for you.

Thanks, For some reason I always get confused about this.