mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 05:09:32 +00:00
prepare EEPROM and logic funcs
This commit is contained in:
@ -11,6 +11,13 @@
|
||||
#include "pca9685.h"
|
||||
#include "EEPROM.h"
|
||||
|
||||
typedef enum ServoMap{
|
||||
SERVO_AXIAL = 0,
|
||||
SERVO_HORIZONTAL = 1,
|
||||
SERVO_VERTICAL = 2
|
||||
}ServoMap;
|
||||
|
||||
|
||||
|
||||
void doShot(Shot*);
|
||||
void doShotForever(uint8_t number);
|
||||
@ -20,7 +27,9 @@ uint8_t prepareShot(uint8_t number);
|
||||
void startShooting();
|
||||
void stopShooting();
|
||||
|
||||
void setPos();
|
||||
|
||||
|
||||
void setPos(uint8_t axial, uint8_t horizontal, uint8_t vertical);
|
||||
void setPosDefault();
|
||||
|
||||
// 0 .. 100
|
||||
|
Reference in New Issue
Block a user