From 4846bee1c098c0d4da9841e5cbec891cd2407bcd Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 26 Nov 2022 19:35:03 -0500 Subject: [PATCH] a --- main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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