Thanks for letting me know - if the pin state was manually set then yes, it probably shouldn't overwrite it. I'll push a change to this now so you can play around.
However I'm not 100% sure if you can actually do what you want. Even if it looks like you can from the circuit diagram, section 9.1 in the F103 datasheet implies that you can't (see below). It gets even more strange when you look at the F401 too.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for letting me know - if the pin state was manually set then yes, it probably shouldn't overwrite it. I'll push a change to this now so you can play around.
However I'm not 100% sure if you can actually do what you want. Even if it looks like you can from the circuit diagram, section 9.1 in the F103 datasheet implies that you can't (see below). It gets even more strange when you look at the F401 too.
1 Attachment