user4990: Referring to guide at High-low tech, I were able to flash ATTiny84 via UNO through Arduino IDE 1.6.7.
I loaded a simple blink LED program on IDE pin 0 (physical Attiny84 pin 13, PA0) and everything works fine for pin 0 till 7 at Port A.
But what if I want to access or blink a LED at one of the pins at Port B? Example, PB0 (physical pin 2)
The following is my current code to blink PA7
int led=7; //PA7

void setup() {
  pinMode(led, OUTPUT);
}

void loop() {
  digitalWrite(led, HIGH);
  delay(100);
  digitalWrite(led,LOW);
  delay(100);
}


user13432: According to the ATtiny web-page the pin/ports are numbered as below:

The physical pin 2 is the Arduino ATtiny core pin 10. You can also find this well documented in the pins_arduino.h file. 
Cheers!

4990: <p>Referring to guide at <a href="http://highlowtech.org/?p=1695" rel="nofollow">High-low tech</a>, I were able to flash ATTiny84 via UNO through Arduino IDE 1.6.7.</p>

<p>I loaded a simple blink LED program on IDE pin 0 (physical Attiny84 pin 13, PA0) and everything works fine for pin 0 till 7 at Port A.</p>

<p>But what if I want to access or blink a LED at one of the pins at Port B? Example, PB0 (physical pin 2)</p>

<p>The following is my current code to blink PA7</p>

<pre><code>int led=7; //PA7

void setup() {
  pinMode(led, OUTPUT);
}

void loop() {
  digitalWrite(led, HIGH);
  delay(100);
  digitalWrite(led,LOW);
  delay(100);
}
</code></pre>
 13432: <p>According to the ATtiny web-page the pin/ports are numbered as below:</p>

<p><a href="https://i.stack.imgur.com/7KtrR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7KtrR.png" alt="ATtiny44/ATtiny84"></a></p>

<p>The physical pin 2 is the Arduino ATtiny core pin 10. You can also find this well documented in the <a href="https://github.com/damellis/attiny/blob/master/variants/tiny14/pins_arduino.h#L33" rel="nofollow noreferrer">pins_arduino.h</a> file. </p>

<p>Cheers!</p>
