Stm32 with arduine IDE

hi guys
i am now with a stm32 module and upload via arduino and a stl v2 device
the sketch uploads BUT the high and low are inverted for example
a blink sketch with 2 sec on and 1 off uploaded it does 2sec off and 1 on
is a there a way to fix this? are other functions also inverted? thanks

That is just the way the on board LED is wired on those boards. If you connect your own LED's in the usual way, it will work as normal.

To fix the onboard LED polarity, just set the output LOW to turn on, HIGH to turn off.

ok, thanks, other functions are not affected? just the led builtin?

(deleted)