SRA-VJTI / sra-board-component

ESP-IDF component for SRA Board
https://sravjti.in/sra-board-component/
MIT License
36 stars 20 forks source link

MCPWM Implementation update for ESP-IDF 5.0 #90

Closed SuperChamp234 closed 9 months ago

SuperChamp234 commented 10 months ago

I am issuing this PR to update the MCPWM implementation for ESP-IDF 5.0.

As per pull request #88 , I have rewritten the MCPWM implementation for ESP-IDF 5.0. It make use of the driver/mcpwm_prelude.h now.

This new MCPWM implementation requires the use of a motor_handle_t when trying to access the mcpwm object and perform actions.

Please review and let me know the changes, thank you.