Microseconds delay

The simulation is probably not useful.

In real life, at the above glacial serial Baud rate, one character is printed about every 30 milliseconds. Change the 300 to 250000 for vastly improved performance.

I am afraid that this calculations might be taking more than the amount of microseconds I need to delay.

The calculation is boiled down by the compiler to one 16-bit integer multiply and one add operation, which on an Arduino Uno R3 will take about 1.5 microseconds.

1 Like