From 2a0270f3ba6eb993fb39ed3564f626d724156654 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 26 Jun 2022 17:40:36 +0200 Subject: implement battery measurement and target area switching --- robot/io.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'robot/io.h') diff --git a/robot/io.h b/robot/io.h index 31fe410..5e469bb 100644 --- a/robot/io.h +++ b/robot/io.h @@ -1,9 +1,11 @@ #pragma once -#include "../shared/bool.h" - /** @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 */ -- cgit v1.2.3