Page 424 - ARM Based Microcontroller Projects Using MBED
P. 424
410 17. STM32 NUCLEO EXPANSION BOARDS
FIG. 17.5 Functional block diagram.
atmospheric pressure. The dew point is calculated from knowledge of the humidity and tem-
perature. All the four parameters are displayed on the PC screen every 15s.
17.6.2 Aim
The aim of this project is to show how the X-NUCLEO-IKS01A2 expansion board can be
used in a project.
17.6.3 Pin Configuration
X-NUCLEO-IKS01A2 expansion board pin configuration is shown in Fig. 17.6.
17.6.4 Program Listing
The program listing (program: MEMS) is shown in Fig. 17.7. The Mbed library
XNucleoIKS01A2 must be included in the program before the MEMS library functions
can be used. Open a new Mbed session with program name MEMS, and click on Import Li-
brary and Click Select Path then select MEMS as the program name to include the library
folder in the program space. The library is available at the following website:
https://os.mbed.com/components/X-NUCLEO-IKS01A2/