From 290d784950b6248782b049cd9831bd6e034fd538 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 30 Sep 2025 13:06:16 -0600 Subject: Add a bunch. Neglected doing commits. Add many different patterns, and organize it. Add a voltage discovery subsystem to allow the ch573 to detect if it's on 12v or 5v lights. --- src/ir.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/ir.c (limited to 'src/ir.c') diff --git a/src/ir.c b/src/ir.c new file mode 100644 index 0000000..46ca2bd --- /dev/null +++ b/src/ir.c @@ -0,0 +1,9 @@ +#include "ch573/gpio.h" + +#define GPIO_PORT_A ch573_gpio__gpio_port_a +#define GPIO_PORT_B ch573_gpio__gpio_port_b +#define GPIO_PORT CH573_GPIO__GPIO_PORT_T_INTF +#define GPIO_I CH573_GPIO__GPIO_T_INTF +#define GPIO ch573_gpio__gpio + + -- cgit