mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Servo control
This commit is contained in:
18
main/include/control/Servo1Actuator.h
Normal file
18
main/include/control/Servo1Actuator.h
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// Created by Johnathon Slightham on 2025-07-15.
|
||||
//
|
||||
|
||||
// 180 deg servo
|
||||
|
||||
#ifndef SERVO1ACTUATOR_H
|
||||
#define SERVO1ACTUATOR_H
|
||||
|
||||
#include "IActuator.h"
|
||||
|
||||
class Servo1Actuator final : public IActuator {
|
||||
public:
|
||||
Servo1Actuator();
|
||||
void actuate(uint8_t *cmd) override;
|
||||
};
|
||||
|
||||
#endif //SERVO1ACTUATOR_H
|
||||
Reference in New Issue
Block a user