-
Notifications
You must be signed in to change notification settings - Fork 543
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
support for earlephilhower/arduino-pico #234
Conversation
Some PWM functions (like `pwm_gpio_to_slice_num`) are not found in the scope when using arduino-pico board library from earlephilhower. Adding `#include "hardware/pwm.h"` solve the problems for me.
I will look into this. I want to run some other tests on pico hardware anyway. Thank you very much for reporting it! PS: we only accept pull requests into the dev branch of SimpleFOC. I will change it. |
Nice, this looks like it is working! I will add it to the code. I can't merge this pull request against the dev branch, it has conflicts. I think the file that was patched has been moved on the dev branch... But as its only one line I will just add it in. |
It's merged into the dev branch, as part of PR #236 It will be part of the next release, thank you so much! |
I'm having some trouble with the 6PWM output on the Specifically, I'm not seeing any output on |
It’s possible, I’ll take another look. are you using platformio or ArduinoIDE? |
Closing PR again, thought it was an issue |
Using platformio. Got a motor spinning just fine tiger the raspberrypi platform, but still no output at all from earlephilhower. Sorry, perhaps I misunderstood the comment, but would you prefer I open another issue? I know this is a new feature so wanted to check existing threads first. Let me know if there’s anything I can do to help debug! |
Yes, this one is a pull request that has already been merged… if you like you could open a new issue. do you have the lib_archive=false option in your platformio.ini file? |
Some PWM functions (like
pwm_gpio_to_slice_num
) are not found in the scope when using arduino-pico board library from @earlephilhower. Adding#include "hardware/pwm.h"
solve the problems for me.