Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About MCPWM? #30

Closed
zhuangfengzi opened this issue Oct 19, 2020 · 3 comments
Closed

About MCPWM? #30

zhuangfengzi opened this issue Oct 19, 2020 · 3 comments

Comments

@zhuangfengzi
Copy link

What are these mistakes? How to solve this problem? thank you!

e:\Program Files (x86)\Arduino\libraries\Arduino-FOC-v.1.5.0\src\FOCutils.cpp:108:55: error: 'MCPWM_SELECT_SYNC_INT0' was not declared in this scope

mcpwm_sync_enable(m_slot.mcpwm_unit, MCPWM_TIMER_0, MCPWM_SELECT_SYNC_INT0, 0);

                                                   ^

exit status 1
Error compiling for development board esp32 dev module

@askuric
Copy link
Member

askuric commented Oct 19, 2020

You have the explanation in ESP32 docs:
https://docs.simplefoc.com/microcontrollers

You will have to replace the mcpwm.h file.

@zhuangfengzi
Copy link
Author

@askuric
Focsimple is great! Thank you very much.

@askuric
Copy link
Member

askuric commented Nov 7, 2020

I'm happy you like it and that you've found your solution!
#14

@askuric askuric closed this as completed Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants