Page 436 - ARM Based Microcontroller Projects Using MBED
P. 436

422                        17. STM32 NUCLEO EXPANSION BOARDS

                 17.13.4 Program Listing
                   The X-NUCLEO-IHM13A1 expansion board is not supported by the Nucleo-F411RE de-
                 velopment board. Therefore, in this project a board similar to Nucleo-L476RG development
                 board is used which is fully supported by this expansion board. The pin configurations of the
                 two development boards are identical. It is important that board Nucleo-L476RG must be se-
                 lected before compiling and downloading the program.
                   The program listing (program: BMotor) of the project is shown in Fig. 17.17. The Mbed
                 library X-NUCLEO-IHM12A1 must be included in the program from the following website:
                   https://os.mbed.com/components/X-NUCLEO-IHM12A1
                   Click Import Library as described in the previous project to download the library. Al-
                 though this library is for the X-NUCLEO-IHM12A1 dual motor controller expansion board,
                 it can also be used for the X-NUCLEO-IHM13A1 board when it is configured for single motor
                 application.

















































                 FIG. 17.17  Program listing.
                                                                                          (Continued)
   431   432   433   434   435   436   437   438   439   440   441