This commit is contained in:
2025-07-06 00:06:12 -04:00
parent e4f4116648
commit 22a8d0acfc
9 changed files with 25 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ Configuration Variables
int motor4_rpm_pwm;
};
Receiving & De-Ecapsulating Data
Receiving & Extracting Data
--------------------------------
.. code-block:: c
@@ -68,10 +68,12 @@ Main Function
// Initialize NVS
esp_err_t ret = nvs_flash_init();
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
if (ret == ESP_ERR_NVS_NO_FREE_PAGES ||
ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
ESP_ERROR_CHECK( nvs_flash_erase() );
ret = nvs_flash_init();
}
ESP_ERROR_CHECK( ret );
wifi_init();
ESP_ERROR_CHECK(esp_now_init());

View File

@@ -19,6 +19,9 @@ Configuration Variables
uint8_t motor4_rpm_pwm;
} __attribute__((packed)) sensors_data_t;
Reading Joystick x- and y- Axis Values
--------------------------------------
Sending & Ecapsulating Data
----------------------------