Solution: The primary issue was choosing the wrong setting for "pin orientation" with respect to the values I used in my code. There are lots of good details for beginners in the responses below regarding pins, bits, and naming...
I've been working with the ATTiny85 then ATTiny84 and next I want to try the ATTiny841.
I just realized that the "attiny" package I was using in the Arduino 1.6.12 development environment doesn't support the 841 chip. So after a little searching, I found the "ATTinyCore" package. However, I'm having trouble getting it to work at all with programs (sketches?) that I know are valid.
I'm using a simple blink program with the ATTiny84 as a test.
Here is the (datasheet). Here is my code:
int blinkPin = PA6;
void setup()
{
pinMode(blinkPin, OUTPUT);
}
void loop()
{
digitalWrite(blinkPin, HIGH);
delay(250);
digitalWrite(blinkPin, LOW);
delay(250);
}
I'm using a SparkFun TinyAVR Programmer since I originally thought I'd be using ATTiny85 chips. I didn't want to buy another programmer so I've run wires from the pins as shown here to a breadboard with my ATTiny84 chip using these pins.
I switched from Arduino 1.6.12 to Arduino 1.6.9 as recommended on the ATTinyCore github page.
These are my settings that work with the "attiny" package:
These are my settings that are not working with "ATTinyCore":
I've also observed the following
If I burn the bootloader and upload the code with the "attiny" package, the light blinks.
If I do the same with the "ATTinyCore", the light does nothing / always off.
If I burn the bootloader from ATTinyCore and upload with attiny, the light also blinks.
If I burn the bootloader from attiny and upload with ATTinyCore, the light stays off.
Finally, with both packages I observe the little LED on my programmer blinking as the program uploads to the chip. So everything appears normal up to that point and I can tell things are happening. The difference is when the upload is finished, it immediately starts running and I see my programmer's LED start blinking when things work and the LED just stays off when things do not work.
If anyone has suggestions, I would appreciate it!
Thanks,
Bill