We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2433d73 commit 541a64cCopy full SHA for 541a64c
src/engine_control.h
@@ -1,9 +1,2 @@
1
#include <servo_component.h>
2
#include <dc_component.h>
3
-
4
-void dc_control(int pin, int dc_pin, int mode, int speed) {
5
- digitalWrite(pin, mode);
6
- if(speed != "") {
7
- analogWrite(engine_id, speed);
8
- }
9
-}
0 commit comments