mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 21:48:09 +00:00
ESPNOW + WiFi + InfluxDB
This commit is contained in:
@@ -379,6 +379,7 @@ void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_
|
||||
rc_x = buf.x_axis; // Save joystic x-axis value
|
||||
rc_y = buf.y_axis; // Save joystic y-axis value
|
||||
update_pwm(rc_x, rc_y);
|
||||
mqtt_update_pwm_1(rc_x);
|
||||
}
|
||||
|
||||
void ultrasonic_task (void *arg) {
|
||||
|
Reference in New Issue
Block a user