Go Down

Topic: I think I found the reason why ArduinoISP sketch is slow. (Read 304 times) previous topic - next topic

technix

There is a delay(20) in heartbeat(). This is what slowing the sketch down.

The solution to this problem is get rid of the delay() and re-implement the heartbeat using millis(). My M184v1 Arduino-based AVR ISP is now shipping with this slightly modified ArduinoISP sketch.

pert

Have you looked at the ArduinoISP sketch included with ArduinoIDE 1.6.6? It doesn't use delay() in the heartbeat.

Go Up