LaskaKit / ESP-Vindriktning

Other
84 stars 16 forks source link

Fix #14 and #15 and adding better basic example with no delay() #17

Closed ridercz closed 9 months ago

ridercz commented 10 months ago
  1. Fixed #14
  2. Fixed #15
  3. 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.