summaryrefslogtreecommitdiff
path: root/robot/io.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-26 17:40:36 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-26 17:40:36 +0200
commit2a0270f3ba6eb993fb39ed3564f626d724156654 (patch)
treed8d310eb35768f84d25453eae4b8cd4721bd8ddf /robot/io.h
parent55fe6aaeee49894dc07516f0c4e21f692b2950fe (diff)
implement battery measurement and target area switching
Diffstat (limited to 'robot/io.h')
-rw-r--r--robot/io.h6
1 files changed, 4 insertions, 2 deletions
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 */