mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 03:03:22 +00:00
.
This commit is contained in:
@@ -18,4 +18,12 @@ It's intended to be sent from a transmitting device (like a remote control or ma
|
||||
uint8_t motor2_rpm_pwm;
|
||||
uint8_t motor3_rpm_pwm;
|
||||
uint8_t motor4_rpm_pwm;
|
||||
} __attribute__((packed)) sensors_data_t;
|
||||
} __attribute__((packed)) sensors_data_t;
|
||||
|
||||
Struct Walkthrough
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
*x_axis* and *y_axis* fields capture analog input from a joystick, determining direction and speed.
|
||||
*nav_bttn* represents a joystick push-button.
|
||||
|
||||
*led* allows the transmitter to toggle an onboard LED and is used for status indication (e.g. pairing, battery warning, etc).
|
Reference in New Issue
Block a user