mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-30 23:21:05 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -14,7 +14,7 @@ Struct that holds PCM for RPMs for each of 4 motors.
|
||||
Positive PCM values for clock-wise rotation, and negative values for counter-vise rotation.
|
||||
|
||||
*/
|
||||
extern struct motors_rpm {
|
||||
typedef struct motors_rpm {
|
||||
int* motor1_rpm_pcm;
|
||||
int* motor1_gpio;
|
||||
int* motor2_rpm_pcm;
|
||||
@@ -23,6 +23,6 @@ extern struct motors_rpm {
|
||||
int* motor3_gpio;
|
||||
int* motor4_rpm_pcm;
|
||||
int* motor4_gpio;
|
||||
};
|
||||
} motors;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user