Hi,
I'm trying to get PWM working on pin D24 on my Maple Mini. In the docs, it is suggested to call USBSerial::end() before activating pwm on this pin, since it is usually occupied by the USB_DM signal. However, in my local libmaple/wirish, I have actively tried to remove all inclusion and instantiation of usb-related code, so SerialUSB is never initialized. Since it still doesn't work, i figure i have missed one of the following;
1) Some part of usb is still being configured, grabbing control over the D24 pin.
2) The initial setup for D24 differs due to its default use, so it isn't initialized as it's sibling gpio/pwm ports.
I relly would appreciate any pointers to where to look!
Best regards,
Jonatan