Quote from: bperrybap on Jun 13, 2012, 10:05 pmTo resolve these sync errors (not related to auto reset)wouldn't it be easier to just bump the RX buffer size in HardwareSerial down in the core code to avoid all these RX buffering issues?The solution is much simpler than that: Change heartbeat to blink-without-delay. I am sad to say I am not joking. Because of the way both sides work (avrdude sends then waits; ArduinoISP waits, buffers, then writes) a bigger buffer is really not necessary. I've used a modified ArduinoISP, without problems, at 9600, 19200, 250K baud and 125K, 250K, 1M SPI bitrates.
To resolve these sync errors (not related to auto reset)wouldn't it be easier to just bump the RX buffer size in HardwareSerial down in the core code to avoid all these RX buffering issues?
Does this version work any better?
Yes!! It works!! thank you so so much for your help.
One more question... Is there a reference chart for the sketch size limitations for the different attiny's?
I'm hoping to use an attiny45v for a particular sketch i've written, but I don't know what the size limitation is.
I also know that there's 2 different versions of the attiny45v. Does an attiny reference chart exist?
The IC I want seems like it might be discontinued? it says there's only 24 left and none on order. hmmm.
My main thing is that I need at least 3 PWM outputs. the attiny85v only has 2,
so I was going to go with the attiny84v.... http://www.mouser.com/ProductDetail/Atmel/ATTINY84V-10PU/?qs=x9Fa6eo0USnynhfIznoQQA%3d%3d
Nope. It has three.
The datasheet states that the attiny45/85v has 2 High Frequency PWM Outputs with Separate Output Compare Registers http://www.atmel.com/Images/2586s.pdfIs there a hidden 3rd PWM output?
8-bit Timer/Counter with Prescaler and Two PWM Channels8-bit High Speed Timer/Counter with Separate Prescaler• 2 High Frequency PWM Outputs with Separate Output Compare Registers
Quote from: Coding Badly on Jun 15, 2012, 08:44 pmNope. It has three.I'll have to check the data sheet... I've been referencing the hi-low tech page about the attiny's, which lists only 2 PWM outputs for pinout image
analogWrite( 0, 127 );analogWrite( 1, 127 );analogWrite( 4, 127 );