Skip to content

This repository is made up of different branches that reflect the use of different peripherals on a STM32L476RG microcontroller

Notifications You must be signed in to change notification settings

vanDeventer/as2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blinky

This is the first program that one gets to run. After an initial setup, it loops by toggling (turning on if the LED is off, or the opposite) the green on-board LED. The program waits 1000 ms (or 1 s) before completing the loop.

This branch is based on DigiKey's tutorial Getting Started with STM32 - Introduction to STM32CubeIDE with Shawn Hymel.

To learn more about the HAL function (and specifically the GPIO [general purpose IO]) the student is invited to look at the stm32l4xx_hal_gpio.h file (Header file of GPIO HAL module located in the Driver/STML4xx_HAL_Driver/Inc folder). Additionally, there is the user manual UM1884 (Description of STM32L4 HAL and low-layer drivers) and the reference manual RM0351 (both in Canvas and on the web).

To learn more about the setting of GPIO settings, you can refer to Embedded Artistry or to the STM32 Wiki as indicated in the master branch.

About

This repository is made up of different branches that reflect the use of different peripherals on a STM32L476RG microcontroller

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages