I have been testing attached schematic. The idea being I want LED to not glow unless the pushbutton is pressed or the port is made output/logic-0. It works with no issues on PDIP version of tINY84 on a perf board. I got a PCB done based and the tiny84 soic programs with no issues but the port is reading half-Vcc. I tried replacing the SMD diode with TH diode (in original perf board) Still I cant seem to get this working. After playing around with it, the diode began to glow bright and now it wont turn off. I see that it blinks when I program. I am wondering if I messed up the input circuitry. Is there a difference between the soic version and pdip version? Thanks a bunch!
DDRB |= 1<<INT0_BIT;
PORTB |= 1<<INT0_BIT; //turn off led by making it logic-high.
PS: I already seem to have broken down 4 soics. I am hesitant to move forward without understanding what is going on.