ATTiny85 Timing Question


i have completed first project attiny85, namely external watchdog timer.  expects pulses different controller, , resets if pulses stop. sweet little chip, , can see plenty of uses it.

but 1 thing seems odd.  understand it, internal clock, delivered factory, 1 mhz.  expected delay() function run 16 times slow, , millis().  instead, find delay(n) gives me 8*n ms. , similarly, millis() advances 1 when 8 realtime ms. have passed.  why should be?

thanks in advance insights.

as understand it, internal clock, delivered factory, 1 mhz.  
it is.

quote
i find delay(n) gives me 8*n ms. , similarly, millis() advances 1 when 8 realtime ms. have passed.  why should be?
the core / board using has f_cpu set 8000000.



Arduino Forum > Using Arduino > Microcontrollers > ATTiny85 Timing Question


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'