RMT integration

This commit is contained in:
2025-07-26 23:55:17 -04:00
parent f09f68c23d
commit 8a463bba10
12 changed files with 108 additions and 26 deletions

View File

@@ -0,0 +1,20 @@
//
// Created by Johnathon Slightham on 2025-07-26.
//
#ifndef ORIENTATIONDETECTION_H
#define ORIENTATIONDETECTION_H
#include <flatbuffers_generated/RobotModule_generated.h>
#include "driver/gpio.h"
class OrientationDetection {
public:
static void init();
static Orientation get_orientation(uint8_t channel);
private:
static void setup_gpio(gpio_num_t pin);
};
#endif //ORIENTATIONDETECTION_H