mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 08:47:36 +00:00
RC
This commit is contained in:
@@ -93,8 +93,8 @@ typedef struct {
|
|||||||
// Struct holding sensors values
|
// Struct holding sensors values
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t crc; // CRC16 value of ESPNOW data
|
uint16_t crc; // CRC16 value of ESPNOW data
|
||||||
uint8_t x_axis; // Joystick x-position
|
int x_axis; // Joystick x-position
|
||||||
uint8_t y_axis; // Joystick y-position
|
int y_axis; // Joystick y-position
|
||||||
bool nav_bttn; // Joystick push button
|
bool nav_bttn; // Joystick push button
|
||||||
uint8_t motor1_rpm_pcm; // PCMs for 4 motors
|
uint8_t motor1_rpm_pcm; // PCMs for 4 motors
|
||||||
uint8_t motor2_rpm_pcm;
|
uint8_t motor2_rpm_pcm;
|
||||||
|
Reference in New Issue
Block a user