Software to be Used in the Book

This chapter presents Python, MicroPython, and C‐based implementation steps in detail. It introduces how a DC motor can be run by the STM32 microcontroller via Python and C codes. Python is a prototyping language used in scientific and engineering applications. Python has several add‐on libraries provided by the user community free of charge. The numpy library provides extensive options for array and matrix usage in Python. MicroPython is an open source programming language based on Python 3 that is optimized to run on selected microcontrollers. Since MicroPython runs on the microcontroller, it is important to reach microcontroller hardware using it. STM32 microcontroller general purpose input and output pins can be accessed by using the pyb module. C is the most effective language to program a microcontroller in terms of resource usage, speed of execution, and ease of programming. Software is the most important element in digital control applications.