Introductory Programs with the 32-bit PIC Microcontroller: A Line-by-Line Code Analysis and Reference Guide for Embedded Programming in C 1st ed. Edition
by Hubert Ward(Author)
Publisher finelybook 出版社: Apress; 1st ed. edition (May 5, 2023)
Language 语言: English
Print Length 页数: 793 pages
ISBN-10: 148429050X
ISBN-13: 9781484290507
Book Description
Embark on a journey into the world of embedded programming. This book introduces you to the 32bit PIC and will teach you how the main functions of C programming work and can be used with a PIC micro.
A one-stop reference for the would-be embedded programmer, you’ll explore the electronics needed for a variety of programs as well as how to use different devices with the PIC. The book starts with downloading the environment and creating a simple project, one that uses different oscillators, Phase Lock Loop, and circuitry needed to create the different system clocks―an easy entry point to this exciting environment. You’ll also review the MPLABX integrated development environment (IDE) and see how to program the 32Bit PIC, which can be adapted to different PICs.
Throughout subsequent chapters, you’ll learn how to use a range of programs that use PIC modules such as the SPI, I2C, UART communication modules, the ADC module, the Capture, Compare, and Pulse Width Modulation module, and the RTCC, Real Time Clock and Calendar Module.
What You’ll Learn
Create a project in MPLABX
Configure the different clock frequencies that are used in the 32bit PIC
Build a variable delay subroutine to be used in a simple traffic lights program
Use the MAX 7219 driver IC to control the 8by8 matrix display
Program an I2C expander module to control the display on a LCD
Who This Book Is For
Readers who want to try their hand at embedded programming, newcomers to programming the PIC 32, programmers who want to look into using MPLAB Harmony 3, and programmers who want to understand how C instructions work with respect to 32bit PIC. Also students who are studying for an engineering qualification.