1 option
Intermediate C programming for the PIC microcontroller : simplifying embedded programming / Hubert Henry Ward.
- Format:
- Book
- Author/Creator:
- Ward, Hubert Henry, author.
- Series:
- Technology in action
- Language:
- English
- Subjects (All):
- C (Computer program language).
- Physical Description:
- 1 online resource (360 pages)
- Edition:
- 1st ed. 2020.
- Place of Publication:
- [Place of publication not identified] : Apress, [2020]
- System Details:
- text file
- Summary:
- 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. You will: 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.
- Contents:
- Chapter 1: Creating a Header File
- Chapter 2: Controlling a Seven Segment Display
- Chapter 3: The 24 Hour Clock
- Chapter 4: Creating a Square Wave
- Chapter 5: DC Motors
- Chapter 6: Interrupts
- Chapter 7 : Frequency Measurement and the EEPROM
- Appendix 1.
- Notes:
- Description based on print version record.
- ISBN:
- 9781484260685
- 1484260686
- OCLC:
- 1226354834
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.