summaryrefslogtreecommitdiff
path: root/robot/io.h
blob: 5b79c526d19b2d963b0eb2c2ac4abed5833be316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

/** @file io.h */

#include "../shared/bool.h"

extern uint16_t g_w2_io_battery_mv;
extern uint8_t g_w2_io_battery_percentage;
extern bool g_w2_io_object_detected;

/** @brief i/o module main */
void w2_io_main();

/** @brief pololu library `set_motors` override */
void w2_set_motors(int left, int right);