Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 852 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 852 Bytes

STM32F407G-DISC1

A working directory for learning how to programme an ARM stm32f4 processor via the STM32F407G-DISC1 dev board from STMicroelectronics and the http://embedded.fm/ blog series Embedded Wednesdays: Getting Started In Embedded Systems.

Note that when you're setting up the HAL UART function, &huart2 refers to the number UART you chose and setup in CubeMX.

HAL_UART_Receive(&huart2, (uint8_t *) result, len, HAL_MAX_DELAY);

i.e. HAL UART 2 (huart2), HAL UART 3 (huart3), etc.

USART 2 Setup

20x4 HD44780 LCD Panel with 8-bit PCF8574 I/O expander

HD44780 LCD panel driver https://github.com/petoknm/PCF8574

8-bit PCF8574 I/O expander driver https://github.com/petoknm/HD44780

20x4 LED Panel over i2c