Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming
By 作者:Hubert Henry Ward
Paperback : 368 pages
ISBN-10 : 1484260678
ISBN-13 : 9781484260678
Product Dimensions : 15.6 x 1.93 x 23.39 cm
Publisher Finelybook 出版社 : Apress; 1st ed. Edition (29 Sept. 2020)
Language 语言: : English
The Book Description robot was collected from Amazon and arranged by Finelybook
Delve into the exciting world of embedded programming with PIC microcontrollers in C. The key to learning how to program is to understand how the code works – and that is what you’ll learn here.
Following C Programming for the PIC Microcontroller, this book continues exploring the coding required to control the PIC microcontroller and can be used as a standalone single reference, or paired with the previous title to enhance your programming skills. You’ll see how to control the position of a servo motor and use the compare aspect of the CCP module to create a square wave with varying frequency. You’ll also work with the capture aspect of the CCP to determine the frequency of a signal inputted to the PIC and use external and internal interrupts.
This book breaks down the programs with line-By 作者:-line analysis to give you a deep understanding of the code. After reading it you’ll be able to use all three aspects of the Capture, Compare and PWM module; work with different types of interrupts; create useful projects with the 7 segment display; and use the LCD and push button keyboard.
What You’ll Learn
Create a small musical keyboard with the PIC
Manage a stepper motor with the PIC
Use the main features of the MPLABX IDE
Interface the PIC to the real world
Design and create useful programs based around the PIC18F4525