Arduino Day 2019

By | 2019-03-15

Presentation in Hungarian:

Arduino függvénykönyvtárak, Aszinkron programozás

Example #1 – Object oriented programming, construction, scopes, class vs. instance:

Example #2 – Problem: Turn on the lamp with a click, turn off automatically within 3 secs. Timing with delay:

Example #3 – Solving the same problem with millis:

Example #4 – Problem: Same as before, but you can turn off the lamp manually any times:

Example #5 – Fix bouncing problem of the previous example:

Example #6 – Fix overflow problem:

Example #7 – Solving the problem with the SoftTimer library:

Example #8 – Demonstration (INO file only):

Download all the example files with the proper subfolders: