You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is reversed since drivers like these are usually enabled when the sleep pin is HIGH
All the drivers have this in their init() function: digitalWrite(pinEN, enable_active_high ? LOW : HIGH);
If this is infact the issue, then this fixes the issue digitalWrite(pinEN, enable_active_high ? HIGH : LOW);
If it is an issue with just the open loop example: calling enable function after init() would fix this driver.enable();
My use case is pretty simple, I just want to drive Brushed motors with mcpwm using arduino compatible code.
I'm have created this issue since I'm not sure if it is a library bug or just a bug with the open loop example.
Anyway thanks again @runger1101001, This seems to be the only arduino compatible library that supports the mcpwm
The text was updated successfully, but these errors were encountered:
MCU: Esp32-S3
Driver IC: DRV8212
Here's the modified code from the open loop example.
I think this is reversed since drivers like these are usually enabled when the sleep pin is HIGH
All the drivers have this in their init() function:
digitalWrite(pinEN, enable_active_high ? LOW : HIGH);
If this is infact the issue, then this fixes the issue
digitalWrite(pinEN, enable_active_high ? HIGH : LOW);
If it is an issue with just the open loop example: calling enable function after init() would fix this
driver.enable();
My use case is pretty simple, I just want to drive Brushed motors with mcpwm using arduino compatible code.
I'm have created this issue since I'm not sure if it is a library bug or just a bug with the open loop example.
Anyway thanks again @runger1101001, This seems to be the only arduino compatible library that supports the mcpwm
The text was updated successfully, but these errors were encountered: