Example of Completed - Standalone Project?

See http://www.arduino.cc/en/Main/Standalone.

Good Luck