diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-13 14:15:13 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-13 14:15:13 +0200 |
commit | 4dc9b15829321e29b82c5f0317d2a0811aee6482 (patch) | |
tree | 0b72b2e1ee14d500cd49311131a084983cdf5de6 /robot/sim.h | |
parent | d473b1f2a3c37f08510bb8ee5630c9254969bd55 (diff) |
implement dummy simulation functionssim
Diffstat (limited to 'robot/sim.h')
-rw-r--r-- | robot/sim.h | 13 |
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 |