Improved Logic Gates.

The NOT/Inverter code... not entirely sure it will work, not had chance to test it (yes it compiles)

/* Instructions
  1. Upload the ISP sketch to an Arduino board.
  2. Program the attiny accordingly.
  3. Upload this sketch via Aruduino as ISP
*/

//Arduino Emulating a Logic NOT gate
//I Plan on doing a library of these, either to temp replace
//a faulty IC, or to improve on one..
//for example, No need to tie these pins down with pull up/down resistors
//add extra functionality of logic

void setup() 
{
  // put your setup code here, to run once:
//  pinMode(4,INPUT);   //pin 3 add an extra not gate?
//  pinMode(1,OUTPUT);  //Logic OUT pin 6

  pinMode(3,INPUT);   //pin 2
  pinMode(0,OUTPUT);  //pin 5  (this is your Logic HIGH/LOW)  
}

void loop() 
{  
  boolean Status1 = digitalRead(3);
  digitalWrite(0,!Status1);  //Your Logic Result on Pin 5         
}