mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-07 01:54:45 +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_x = buf.x_axis; // Save joystic x-axis value
|
||||||
rc_y = buf.y_axis; // Save joystic y-axis value
|
rc_y = buf.y_axis; // Save joystic y-axis value
|
||||||
update_pwm(rc_x, rc_y);
|
update_pwm(rc_x, rc_y);
|
||||||
|
mqtt_update_pwm_1(rc_x);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ultrasonic_task (void *arg) {
|
void ultrasonic_task (void *arg) {
|
||||||
|
Reference in New Issue
Block a user