hasnain99 / tm1638-library

Automatically exported from code.google.com/p/tm1638-library
0 stars 0 forks source link

Running on ATtiny85 @ 1Mhz #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Ricardo,

I've got the TM1638/TM1640 library running on an ATtiny85.
I've tested with the TM1640, but have yet to try the TM1638.

http://www.instructables.com/id/Self-contained-16-Digit-display-Arduino-Attiny/

Are there any issues you can forsee with this library and the ATtiny85?

I've found the millis() function is 16 times too fast, due to the difference in 
clock speeds (16Mhz vs 1Mhz). Nothing else has come up yet though.

Cheers!,
Panici

Original issue reported on code.google.com by dacomput...@gmail.com on 17 Jan 2012 at 2:40

GoogleCodeExporter commented 9 years ago
Since I'm not timming delays in the bit banging I see no reason for it not to 
work - and even then, it would be worst in the faster and not slower 
invocations.

Even at the arduino's 16MHz I've had no problems with the TM1638/1640 without 
adding delays - you should be fine, but I've never tried it.

Have you came up with any problems ?

Original comment by rjbati...@gmail.com on 17 Jan 2012 at 3:25

GoogleCodeExporter commented 9 years ago
No problems yet.

I've just got the ATtiny running @ 8Mhz by burning a new bootloader.
The TM1638/TM1640 libraries appear to be functioning fine.

Running at 8Mhz fixed the millis() function problem. It keeps proper time now.

Original comment by dacomput...@gmail.com on 17 Jan 2012 at 11:25