How to read data from pins? STM32F4
Hello everyone,
I would like to know how to read data from pin on STM32F4. I have a small project where I am blinking led (it's running throw Arduino board) and I would like to see throw STM32F4 when it's on and when it isn't. How should I setup pin? GPIO_INPUT or GPIO_ANALOG? I am new to programming so I am sorry for my question. I would like to create something like a simple logic analyzer so I could see in debug the logic of led. I would like to have something whats on the picture I attached.
Thanks for any help.
