diff --git a/main.js b/main.js index 42c5cda..fec886c 100644 --- a/main.js +++ b/main.js @@ -34,9 +34,13 @@ function sleep(ms) { }); } -while (true) { +async function cycleAuger() { augerOn(); await sleep(500); augerOff(); await sleep(800); +} + +while (true) { + cycleAuger(); } \ No newline at end of file