I'm playing with a motor board, a PWR.A52.A, that is mapping the ENA and ENB of its L298P to the BCM13 and BCM20.
The problem is that Android Things is mapping the PWM to BCM13 and BCM18.
I don't think there is a software solution to this problem due to Android Things (I have opened an feature request for this), but maybe there is an hardware solution...
Sorry for the silly question but this is not my field: what will happen if I short BCM18 and BCM20 and I keep BCM20 to low set BCM20 as an input and use BCM18 as PWM?
Probably I'm going to damage something, but that's why I'm asking.
This is a graphical representation of what I mean by shorting BCM18 and BCM20.
Is there any other safe and easy solution that can help me with this problem?
This is the pin mapping of the board: