ATtiny84

How many output pins are available on the ATtiny84?

Dave

See the data sheet!

Sorry, just new with Arduino programming and I am not sure with the ATtiny capacity! It looks like 9 pins but can pins 9 and 10 be used as an output?

Dave

No one, on this forum, has that information in their head. Do you expect forum members to take the time to find the data sheet, read it and then type in the answer to your question?

I typed “attiny84 pinout” into Google. First hit was the pinout. Pins 9 and 10 are PA3 and PA4. So they are indeed two bits of port A. Set DDRA so bits 4 and 5 are hi and they will be outputs.

As for your original question, there are 12 possible I/O pins, though you may be using them for other things. I try real hard not to repurpose ~RESET as an I/O pin since then you can’t reprogram the chip thru ISP or DW, so call it 11 usable I/O. If you are using a crystal, you will lose two more.

/mike

Mike, Thank You for response. You have been a big help!

Dave