fix rc debug and ir logic

This commit is contained in:
2024-10-01 22:34:01 +03:00
parent 6c3af6fbb5
commit 839da85dfe
11 changed files with 154 additions and 91 deletions

View File

@ -24,6 +24,7 @@ typedef enum ServoMap{
typedef enum Mode {
NoneMode, ShotMode, ProgramMode, MacroMode,
DebugShot,
} Mode;
typedef enum State{
@ -85,6 +86,7 @@ uint8_t prepareMacro(uint8_t number);
void startShooting(uint32_t delayTime);
void stopShooting();
void pauseShooting();
long map(long x, long in_min, long in_max, long out_min, long out_max);