Added new example that uses async approach instead of delay() everywhere.
Using delay() everywhere is bad practice and also makes extensibility harder. I rewrote the basic example to use asynchronnous approach instead, so the main lopp is free for other tasks - ie. running a HTTP server or something else.
Using delay() everywhere is bad practice and also makes extensibility harder. I rewrote the basic example to use asynchronnous approach instead, so the main lopp is free for other tasks - ie. running a HTTP server or something else.