whining could mean that the fuse bits aren't set, which means the microcontroller could be running at a lower frequency than 16MHz, which would slow the pwm signal. I think 1MHz is the default, which would mean 1kHz pwm signal, which would be EXTREMELY annoying. The correct fuse bit settings are
extended = F8
High = DC
Low = F7. But if you are using ponyprog or something, then I think you should use extended = 8. Could there be an alignment issue causing the other sound?
|