fixes
This commit is contained in:
19
main/components/servocontroller.h
Normal file
19
main/components/servocontroller.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef SERVO_CONTROLLER_COMPONENT
|
||||
#define SERVO_CONTROLLER_COMPONENT
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int16_t currentServoA;
|
||||
int16_t targetServoA;
|
||||
int16_t currentServoB;
|
||||
int16_t targetServoB;
|
||||
} ServoState;
|
||||
|
||||
|
||||
extern ServoState servoState;
|
||||
|
||||
void servoControllerInit();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user