About 50ms delay in seccond function

Helo
Any ideas why i have about 50 second delay when i choose second function from my code? The first function works without any delay. Both functions are almost identical(first turn on led from 1-9 and second turn off from 9 to 1) and starts from eeprom which remember what what last choosen function. There is no delay, nothing what can I change to remove that delay. Is that normal behavior ?
Atmega328pb with 8mhz internal, without boot loader.

What Code?

1 Like

Do you mean the code that you didn't post for us to look at?

1 Like

today the crystal ball for divination is not available

1 Like

Help us help you.

2 Likes

Could it be the extremely slow clock?
Or did you mean 8MHz?

2 Likes

Having created 8 topics, and read several more, you must have some inkling of how this forum works, nonetheless volunteers had to remind you of the basic principles. Without ample context and information, we waste our time, and yours, trying to pull necessary information from you.
I'm sorry, but I'm not playing the game today.
Chranky Thom

2 Likes

mine is still in the dishwasher

better to hand wash the precious.

Will it get damaged by frequent washing? :grinning:

Maintenance work according to the service manual.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.