diff options
-rw-r--r-- | SnakeMaster/SnakeMaster.pde | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SnakeMaster/SnakeMaster.pde b/SnakeMaster/SnakeMaster.pde index 94256f6..e89bef3 100644 --- a/SnakeMaster/SnakeMaster.pde +++ b/SnakeMaster/SnakeMaster.pde @@ -120,6 +120,9 @@ void snakeDrawCircle(byte firstSectionNum, byte lastSectionNum, int arcRadius, i } } +// Regulator and Delay Stuff + +// This MUST be used instead of delay() or the regulator will not work! void snakeDelay(int time) { int endTime = (millis() + time); while (millis() < endTime) regulator(); @@ -167,6 +170,8 @@ void regulator() { } } +// Debug Stuff + void debugln(String message, int messageDebugLevel) { if (messageDebugLevel <= debugLevel) { if (messageDebugLevel == 1) { |