summaryrefslogtreecommitdiff
path: root/robot/sim.h
blob: 08faee55c08ef6dca5d5c8161a58874852a2cb04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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
void serial_send(char* message, unsigned int length); // NOLINT