From e35cff6d299a07d9b34f303717083a9299a37e82 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 28 Aug 2023 15:16:12 +0100 Subject: Initial import --- include/ubox_joy.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/ubox_joy.h (limited to 'include/ubox_joy.h') diff --git a/include/ubox_joy.h b/include/ubox_joy.h new file mode 100644 index 0000000..002b58e --- /dev/null +++ b/include/ubox_joy.h @@ -0,0 +1,10 @@ +#ifndef _UBOX_JOY_H +#define _UBOX_JOY_H + +/* it also calibrates */ +uint8_t ubox_joy_detect(); + +/* returns the bits specified in ubox_control.h */ +uint8_t ubox_joy_read(); + +#endif /* _UBOX_JOY_H */ -- cgit v1.2.3