mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-05 14:47:19 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -21,4 +21,12 @@ struct motors_rpm {
|
|||||||
int motor4_rpm_pcm;
|
int motor4_rpm_pcm;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static void motors_rpm_init (struct motors_rpm) {
|
||||||
|
motors_rpm.motor1_rpm_pcm = 0;
|
||||||
|
motors_rpm.motor2_rpm_pcm = 0;
|
||||||
|
motors_rpm.motor3_rpm_pcm = 0;
|
||||||
|
motors_rpm.motor4_rpm_pcm = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
Reference in New Issue
Block a user