I want to configure a pin as a source of current (of an STM32F103C4) so when it's HIGH it has 3.3V and when LOW 0V.
(in Proteus 8.6)
I haven't managed this till now even though I have tried any possible configuration (GPIO Mode: output push pull, Output open drain, GPIO pul up-pull down: pull down, pull up etc ) of the pin (PB15).
I 'm using STM32CubeMX 5.2.1, Atollic TrueStudio 9.3.0, Proteus 8.6.
First of all: in order for the pin to source current, I must put 'GPIO Mode: output push pull'. Right?
In the attached file you 'll find the Proteus project and the hex file. It 's an LED connected to pin PB15, it's supposed to blink but it doesn't, voltage on this pin goes only up to 1.5V when HIGH.