We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be nice to let app developers configure a pin as PWMOut in Nano. Current Nano firmware thus needs modifications.
Each PWMOut pin may be configured with two parameters:
This configuration should be sent after the pin initialization
public void onBoardInitEnded() { nanoPwmPin.setStatus(BLEGeneralIO.GENERAL_IO_PWM); nanoPwmPin.setPeriod(10000000), nanoPwmPin.setDutyCicle(0.2), }
EXTRA: check if Arduino/Raspberry pins can be set as PWM pins and integrate them too!
The text was updated successfully, but these errors were encountered:
Hot to generate a PWMOut for RedBear Nano, from mbed IDE:
#include "mbed.h" PwmOut led(P0_4); int main() { led.period_ms(10); led.write(0.032); while(1) { } }
Sorry, something went wrong.
No branches or pull requests
Would be nice to let app developers configure a pin as PWMOut in Nano. Current Nano firmware thus needs modifications.
Each PWMOut pin may be configured with two parameters:
This configuration should be sent after the pin initialization
EXTRA: check if Arduino/Raspberry pins can be set as PWM pins and integrate them too!
The text was updated successfully, but these errors were encountered: