This commit is contained in:
2025-07-05 17:14:56 -04:00
parent e90e041cc6
commit 15196b1bd3
9 changed files with 60 additions and 5 deletions

View File

@@ -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).