- Changed `monitor_speed` in `platformio.ini` from `115200` to `19200` for compatibility. - Initialized `MotorControlInputs` struct members with default values. - Uncommented digital write operations in `doMotor` for proper execution. - Disabled debug output and monitoring configurations for cleaner operation. - Adjusted motor tuning parameters by commenting out specific settings. - Changed `Serial.begin(115200)` to `Serial.begin(19200)` in `setup()` to match the new monitor speed. - Commented out `_delay(1000)` and `current_angle` variable to remove unnecessary delays and unused code. |
||
---|---|---|
.. | ||
include | ||
knowledges | ||
lib | ||
src | ||
test | ||
.clang-tidy | ||
.clangd | ||
.gitignore | ||
check_gcc_version.py | ||
cubemx_config.ioc | ||
gen_compile_commands.py | ||
platformio.ini | ||
README.md |
Встроенное ПО для сервипривода на STM32F446RE
Для разработки
pip install -U platformio
platformio run --environment robotroller_reborn
platformio run --target upload --environment robotroller_reborn
platformio device monitor