mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:16:08 +00:00
motors_init()
This commit is contained in:
2
ESP-IDF_Robot/.vscode/settings.json
vendored
2
ESP-IDF_Robot/.vscode/settings.json
vendored
@@ -7,7 +7,7 @@
|
|||||||
"idf.toolsPath": "/home/alex/.espressif",
|
"idf.toolsPath": "/home/alex/.espressif",
|
||||||
"idf.port": "/dev/ttyACM0",
|
"idf.port": "/dev/ttyACM0",
|
||||||
"idf.flashType": "UART",
|
"idf.flashType": "UART",
|
||||||
"idf.pythonInstallPath": "c:\\Users\\alex\\esp\\tools\\idf-python\\3.11.2\\python.exe",
|
"idf.pythonInstallPath": "/usr/bin/python3",
|
||||||
"idf.espIdfPathWin": "C:\\Users\\alex\\esp\\v5.4\\esp-idf",
|
"idf.espIdfPathWin": "C:\\Users\\alex\\esp\\v5.4\\esp-idf",
|
||||||
"idf.toolsPathWin": "c:\\Users\\alex\\esp\\",
|
"idf.toolsPathWin": "c:\\Users\\alex\\esp\\",
|
||||||
"idfWeb.flashBaudRate": 115200
|
"idfWeb.flashBaudRate": 115200
|
||||||
|
@@ -456,6 +456,9 @@ void app_main(void)
|
|||||||
}
|
}
|
||||||
ESP_ERROR_CHECK(ret);
|
ESP_ERROR_CHECK(ret);
|
||||||
|
|
||||||
|
// MOTORS
|
||||||
|
motors_init();
|
||||||
|
|
||||||
// Use wifi_init() for ESP-NOW and Wi-Fi setup
|
// Use wifi_init() for ESP-NOW and Wi-Fi setup
|
||||||
wifi_init();
|
wifi_init();
|
||||||
|
|
||||||
@@ -511,9 +514,6 @@ void app_main(void)
|
|||||||
rc_adc_init();
|
rc_adc_init();
|
||||||
xTaskCreate(rc_task, "RC", 2048, NULL, 5, NULL);
|
xTaskCreate(rc_task, "RC", 2048, NULL, 5, NULL);
|
||||||
|
|
||||||
// MOTORS
|
|
||||||
motors_init();
|
|
||||||
|
|
||||||
ESP_ERROR_CHECK(i2cdev_init());
|
ESP_ERROR_CHECK(i2cdev_init());
|
||||||
xTaskCreate(task, "test", configMINIMAL_STACK_SIZE * 8, NULL, 5, NULL);
|
xTaskCreate(task, "test", configMINIMAL_STACK_SIZE * 8, NULL, 5, NULL);
|
||||||
xTaskCreate(display_xy, "coordinates", configMINIMAL_STACK_SIZE * 8, NULL, 4, NULL);
|
xTaskCreate(display_xy, "coordinates", configMINIMAL_STACK_SIZE * 8, NULL, 4, NULL);
|
||||||
|
Reference in New Issue
Block a user