Go Down

Topic: ATtiny85 1mhz Tone() (Read 1 time) previous topic - next topic


Can an attiny85 successfully run Tone() or TimerFreeTone() with a 1mhz clock?

I've actually been using the TimerFreeTone() library with the ATtiny85 which runs beautifully at 8mhz, but not 1mhz.

Different Attiny Cores I've used:


-attiny by David A. Mellis

-ATTinyCore by Spence Kode

I've tried Tone() and TimerfreeTone() with all of the above mentioned cores and none of them work with a 1mhz clock.

Is it possible?



Please create an issue for this https://github.com/SpenceKonde/ATTinyCore/issues
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy


Jun 05, 2017, 02:37 am Last Edit: Jun 05, 2017, 02:42 am by hoshwan
Okay, and thanks for the quick response.

I can do that, but do you think it's a core issue?
Because I've tried multiple versions of multiple cores and they all seem to do the same thing(i.e. 8mhz runs great 1mhz does not).I'm beginning to wonder if it's even possible. Is a 1mhz clock too slow?


Coding Badly

Jun 05, 2017, 06:36 am Last Edit: Jun 05, 2017, 06:38 am by Coding Badly
...do you think it's a core issue?
No.  It's not a core issue.  Nor is it a processor clock issue.

For one of those cores in your list tone works reasonable well when the processor is running at 128 kHz.

Is a 1mhz clock too slow?

Go Up