Arduino and how to avoid delay() – Part 1