jdskier1 / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
Other
0 stars 0 forks source link

ATTiny84 PWM flickers on pins 4 and 5 #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set pins 4 or 5 to output
2. analogWrite() to the pin (flicker is most noticeable at lower values)
3.

What is the expected output? What do you see instead?
Pins 2 and 3 work perfectly and output a steady light.  A digital write HIGH 
does not flicker on either pin.

What version of the product are you using? On what operating system?
OSX, Arduino 1.0.1.  Using Arduino Uno as ISP

Please provide any additional information below.

Original issue reported on code.google.com by mlh5...@gmail.com on 12 Sep 2012 at 12:21

GoogleCodeExporter commented 8 years ago
Processor speed?

Original comment by arduino....@gmail.com on 12 Sep 2012 at 1:22

GoogleCodeExporter commented 8 years ago
And that is it.  I was using 8MHz board but hadn't burned the 8MHz bootloader.  
Tried it with both 8 MHz and 1MHz speeds after burning the appropriate 
bootloader and it is working perfectly now.  Thanks, and sorry for the trouble.

Original comment by mlh5...@gmail.com on 12 Sep 2012 at 1:50

GoogleCodeExporter commented 8 years ago
No trouble.  Glad you have it working.

Original comment by arduino....@gmail.com on 12 Sep 2012 at 2:10