diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2025-09-30 13:06:16 -0600 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2025-09-30 13:06:16 -0600 |
commit | 290d784950b6248782b049cd9831bd6e034fd538 (patch) | |
tree | c231c02e92ed83a02b234a85b3c07bcc5e44b168 /src/ir.c | |
parent | f89f75b5616de99865448f41b068a2783cd3648e (diff) | |
download | ch573-main.tar.gz ch573-main.tar.bz2 ch573-main.zip |
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.
Diffstat (limited to 'src/ir.c')
-rw-r--r-- | src/ir.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 + + |