The topic subject and initial code posted refers to delay() and this is not directly related to millis(). Delay uses the micros() function and so needs to be addressed separately to improve accuracy when running at 20MHz.
The topic subject and initial code posted refers to delay() and this is not directly related to millis(). Delay uses the micros() function and so needs to be addressed separately to improve accuracy when running at 20MHz.