March 2016
Beginner to intermediate
296 pages
6h 34m
English
The recipe, helloBlinky_c1v0, that we met in Chapter 1, A Practical Introduction to ARM Cortex, uses the LED_On() and LED_Off() functions to switch the LEDs. These functions are defined in a file named LED_MCBSTM32F400.c, which is automatically included in our project if we select LED (API) Board Support when configuring our project using the RTE manager. Let's write another LED program and then take a closer look at LED_MCBSTM32F400.c.
To configure the GPIO ports follow the outlined steps:
countBlinky_c3v0 and a project named countBlinky; use the RTE manager to select Board Support for the LED (API).countBlinky.c and add this to the project: ...Read now
Unlock full access