mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-01 01:14:49 +00:00
RC
This commit is contained in:
@@ -816,6 +816,8 @@ void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_
|
|||||||
ESP_LOGI(TAG, "PCM 4: 0x%04X", buf.motor4_rpm_pcm);
|
ESP_LOGI(TAG, "PCM 4: 0x%04X", buf.motor4_rpm_pcm);
|
||||||
x = buf.x_axis;
|
x = buf.x_axis;
|
||||||
y = buf.y_axis;
|
y = buf.y_axis;
|
||||||
|
|
||||||
|
update_pwm(buf.x_axis, buf.y_axis);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user