Yes!! It works!! thank you so so much for your help.
Excellent! You are welcome!
One more question... Is there a reference chart for the sketch size limitations for the different attiny's?
The most reliable source is the "datasheet". This is how I get Atmel datasheets...
• Enter the full processor model: attiny45v
in your case
• Restrict the search to the Atmel site: site:atmel.com
• A link to the datasheet is often on the first page... http://www.atmel.com/Images/doc2586.pdf
Memory sizes are on the first page but in an annoying format...
is the size given for Flash
• On the right side, past the vertical line, is a list of models: ATtiny25/V ATtiny45/V ATtiny85/V
• The ATtiny45/V is second in the list so the second number (4) is the total Flash (in K)
• An Uno has about 32K of Flash available so the ATtiny45/V has 8 times less storage for code
is the size given for SRAM
• The second number, 256, is the storage available for data (in bytes)
• An Uno has 2K of SRAM available so the ATtiny45/V has 8 times less storage for data
I'm hoping to use an attiny45v for a particular sketch i've written, but I don't know what the size limitation is.
When you Verify (compile) your sketch, something like this is displayed in the status window... Binary sketch size: 304 bytes (of a 4,096 byte maximum)
If the "binary sketch size" is less than 4096, there is a high probability the code will fit. If the size is a bit over 4096, there may be some things you can do to whittle it down to 4096.
Determining if the data will fit often has to be done by-hand. The task is made more time consuming by the fact that "static SRAM" is not included in the status.
I also know that there's 2 different versions of the attiny45v. Does an attiny reference chart exist?
I'm not aware of a chart highlighting the differences (but such a thing would certainly be nice).
"Speed grades" ("V" versus non-"V") are also on the first page of the datasheet and they are also in an annoying format...
– ATtiny25V/45V/85V: 0 – 4 MHz @ 1.8 - 5.5V, 0 - 10 MHz @ 2.7 - 5.5V
– ATtiny25/45/85: 0 – 10 MHz @ 2.7 - 5.5V, 0 - 20 MHz @ 4.5 - 5.5V
Basically, the "V" model can operate at a lower voltage (as low as 1.8 volts) but the maximum speed is limited to 10MHz. If your application will be battery powered, the "V" model is an excellent choice.