aboutsummaryrefslogtreecommitdiff
path: root/robot/sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'robot/sim.h')
-rw-r--r--robot/sim.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/robot/sim.h b/robot/sim.h
new file mode 100644
index 0000000..a408bc6
--- /dev/null
+++ b/robot/sim.h
@@ -0,0 +1,13 @@
+#pragma once
+
+/**
+ * simulates pololu library functions for local testing
+ */
+
+void time_reset(); // NOLINT
+unsigned long get_ms(); // NOLINT
+void red_led(unsigned char on); // NOLINT
+void green_led(unsigned char on); // NOLINT
+void clear(); // NOLINT
+void play(const char* melody); // NOLINT
+void serial_set_baud_rate(unsigned int rate); // NOLINT