Skip to Main Content
PIC Projects and Applications using C
book

PIC Projects and Applications using C

by David W Smith
December 2012
Intermediate to advanced content levelIntermediate to advanced
204 pages
3h 40m
English
Newnes
Content preview from PIC Projects and Applications using C
Chapter 3

Using Eight Outputs

FLASHING 8 LEDs.

For this program we are going to flash all eight outputs on PORTB.

Consider the circuit as shown in Figure 3.1.

image

Figure 3.1 Eight outputs on PORTB.

In order to achieve our objective we will be using the following steps:

ent Open MPLAB.

ent Create the C file (see Figure 2.3). Call it flash8.c.

ent Create a project ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal
Jumpstarting C

Jumpstarting C

Wolfram Donat

Publisher Resources

ISBN: 9780080971513