platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
139 stars 105 forks source link

Blink-example with ATTiny85 #57

Closed kkrischker closed 6 years ago

kkrischker commented 7 years ago

I tried the blink example with an ATTiny85 (Board: Generic ATTiny85), but the blink interval is 8 times slower than expected. I read out the fuses because I thought the clock is only 1 MHz instead of 8 MHz as described in the documentation. But the values of the read out fuses are ok: low=0x62, high=0xdf, ext=0xff. Any ideas?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46618045-blink-example-with-attiny85?utm_campaign=plugin&utm_content=tracker%2F38207915&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F38207915&utm_medium=issues&utm_source=github).
kkrischker commented 7 years ago

Just checked the fuses again: low fuse of 0x62 means that a clock divider by 8 is activated. The low fuse should be 0xe2, so that the device runs with 8 MHz.

ivankravets commented 6 years ago

Should be fixed in the latest release