C Programming for the PIC Microcontroller

Demystify Coding with Embedded Programming

  • Hubert Henry Ward

Table of contents

  1. Front Matter
    Pages i-xx
  2. Hubert Henry Ward
    Pages 1-8
  3. Hubert Henry Ward
    Pages 9-63
  4. Hubert Henry Ward
    Pages 65-91
  5. Hubert Henry Ward
    Pages 93-118
  6. Hubert Henry Ward
    Pages 119-135
  7. Hubert Henry Ward
    Pages 137-211
  8. Hubert Henry Ward
    Pages 213-221
  9. Hubert Henry Ward
    Pages 223-249
  10. Back Matter
    Pages 251-271

About this book


Go beyond the jigsaw approach of just using blocks of code you don’t understand and become a programmer who really understands how your code works. 

Starting with the fundamentals on C programming, this book walks you through where the C language fits with microcontrollers. Next, you'll see how to use the industrial IDE, create and simulate a project, and download your program to an actual PIC microcontroller. 

You'll then advance into the main process of a C program and explore in depth the most common commands applied to a PIC microcontroller and see how to use the range of control registers inside the PIC. With C Programming for the PIC Microcontroller as your guide, you’ll become a better programmer who can truly say they have written and understand the code they use.

You will:
  • Use the freely available MPLAX software 
  • Build a project and write a program using inputs from switches 
  • Create a variable delay with the oscillator source
  • Measure real-world signals using pressure, temperature, and speed inputs
  • Incorporate LCD screens into your projects
  • Apply what you’ve learned into a simple embedded program


C programming Programming PICs Understanding micro-controllers Electronics Microcontrollers Arduino Raspberry Pi C Compiler MPLABX PROTEUS

Authors and affiliations

  • Hubert Henry Ward
    • 1
  1. 1.LancashireUK

Bibliographic information

Industry Sectors
IT & Software