Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24

Part I :

Chapter List

Chapter 1: The First Flight
Chapter 2: A Loop in the Pattern
Chapter 3: More Pattern Work, More Loops
Chapter 4: Numb3rs
Chapter 5: Interrupts
Chapter 6: Taking a Look Under the Hood

Overview

The first flight for every student pilot is typically a blur a sequence of brief but very intense sensations, including:

  • The rush of the first take-off, which is performed by the instructor.

  • The white-knuckled, sweaty grip on the yoke while trying to keep the plane flying straight for a couple of minutes, after the instructor gives the standard "anybody that can drive a car can do this" speech.

  • Acute motion sickness, as the instructor returns for the landing and performs a sickness-inducing maneuver, called the "side slip". where it looks like the runway is coming through the side window.

For those who are new to the world of embedded programming, this first chapter will be no different.

Flight Plan

Every flight should have a purpose, and preparing a flight plan is the best way to start.

This is going to be our first project with the PIC24 16-bit microcontroller and, for some of you, the first project with the MPLAB IDE Integrated Development Environment and the MPLAB C30 language suite. Even if you have never heard of the C language before, you might have heard of the famous "Hello World!" programming example. If not, let me tell you about it.

Since the very first book on the C language, written by Kernighan and Ritchie several...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Flight Management Systems
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.