User Activity

Simple program. Trying to make a push button turn on an LED. I have connected on pin of the push button to 5V and the other pin to the STM32F411E-Disco board directly without any resistors. The anode of the LED is connected to a 330 ohm resistor and ...
#include "stm32f4xx.h" // Device header   // Trying to use the General Purpose Timer (TIM2) to create a 1 second delay // Board External Crystal 8.0 MHz // Port A Pin 0 Output   // The program should output a high on GPIOA Pin 0 and ...
I created a new project on STM32CubeMX and I started the project with MCU Selector. I selected the STM32F411VETx mcu and I started the project. All pins were reset. GPIOD Pin 15 I made an output. The RCC I chose High Speed Clock (HSE): Crystal/Cerami...
#include "stm32f4xx.h" // Device header   void USART2_Init(void); void USART2_Write(int ch); void delayMS(int delay);   int main(void){ USART2_Init(); while(1){ USART2_Write('H'); USART2_Write('i'); delayMS(1000); } }   vo...