2n2222

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1242586635/5

In these posts the schematics used. What kind of code would i use for this, and where can i find it?

Are you asking about the schematics package?
Eagle?
http://www.cadsoftusa.com/

2N2222 is Small Signal NPN Transistors and you can get it from your local store or order on-line with digikey or mouser.

No, i was talking about the picture of the schematic, in the link.

In that case, this is what you want:

http://www.cadsoftusa.com

For the code you can use this for sending
\arduino-0015\examples\Communication\ASCIITable

For Receive you can use this code

/*
  SoftwareSerial modify example

  Sample of the SoftwareSerial library.  Listens for serial in on pin 2
  and sends it out again on pin 3.

  by Tom Igoe
  based on examples by David Mellis and Heather Dewey-Hagborg
  written: 6 Jan 2007


*/

// include the SoftwareSerial library so you can use its functions:
#include <SoftwareSerial.h>

#define rxPin 2
#define txPin 3
#define ledPin 13

// set up a new serial port
SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);
byte pinState = 0;

void setup()  {
  // define pin modes for tx, rx, led pins:
  pinMode(rxPin, INPUT);
  pinMode(txPin, OUTPUT);
  pinMode(ledPin, OUTPUT);
  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
    Serial.begin(9600);   // Monitor thru USB serial monitor
}

void loop() {
  // listen for new serial coming in:
  char someChar = mySerial.read();
  // print out the character:
  mySerial.print(someChar);
  Serial.print(someChar, BYTE);    // prints value unaltered, first will be '!' 

  // toggle an LED just so you see the thing's alive.  
  // this LED will go on with every OTHER character received:
  toggle(13);

}


void toggle(int pinNum) {
  // set the LED pin using the pinState variable:
  digitalWrite(pinNum, pinState); 
  // if pinState = 0, set it to 1, and vice versa:
  pinState = !pinState;
}

I use the same program for both the receiver and the transmitting circuit, right?

Wrong.
Read the post.

o hah i didnot see that haha!