ESP32-C3 RC

This commit is contained in:
2025-01-03 10:14:37 -05:00
parent fa715770c6
commit c6746a5547
7 changed files with 6424 additions and 6418 deletions

View File

@@ -799,7 +799,6 @@ static void display_chip_temperature () {
void onDataReceived (uint8_t *mac_addr, uint8_t *data, uint8_t data_len) {
//memcpy(buf, data, data_len);
//memcpy(&buf, data, sizeof(buf));
//buf = (sensors_data_t*)data;
/*ESP_LOGW(TAG, "Data was received");
@@ -807,7 +806,7 @@ void onDataReceived (uint8_t *mac_addr, uint8_t *data, uint8_t data_len) {
ESP_LOGI(TAG, "y-axis: 0x%04X", buf->y_axis);
ESP_LOGI(TAG, "PCM 1: 0x%04X", buf->motor1_rpm_pcm);*/
ESP_LOGW(TAG, "Data was received");
ESP_LOGW(TAG, "Data was received (%i bytes)", len);
ESP_LOGI(TAG, "x-axis: 0x%04X", buf.x_axis);
ESP_LOGI(TAG, "y-axis: 0x%04X", buf.y_axis);
ESP_LOGI(TAG, "PCM 1: 0x%04X", buf.motor1_rpm_pcm);