Chapter 3. hardware description, Chapter 4. using the mplab® c17 c compiler, Chapter 5. lcd.c description – Arizona Picdem 17 User Manual

Page 4: Chapter 6. usart.c description, Picdem™ 17 demonstration board user’s guide

Advertising
background image

PICDEM™ 17 Demonstration Board User’s Guide

DS39024B-page 4

2001 Microchip Technology Inc.

2.7

Downloading HEX Files to the PICDEM 17 Demonstration Board .9

2.8

Running HEX files from the PICDEM 17 Demonstration Board ....10

2.9

Running Diagnostics on the PICDEM 17 Demonstration Board ...11

2.10

Modifying Memory Contents .........................................................14

Chapter 3.

Hardware Description

3.1

Introduction ...................................................................................19

3.2

Highlights ......................................................................................19

3.3

Port Connections ...........................................................................19

3.4

Push-button Switches ...................................................................20

3.5

DIP Switches .................................................................................20

3.6

RS-232 Interface ...........................................................................20

3.7

CAN Bus Interface ........................................................................20

3.8

Modular Connectors ......................................................................21

Chapter 4.

Using the MPLAB

®

C17 C Compiler

4.1

Introduction ...................................................................................23

4.2

Highlights ......................................................................................23

4.3

Linker Script File ...........................................................................24

4.4

Startup Code File ..........................................................................26

4.5

Interrupt Code File ........................................................................28

4.6

Other Files .....................................................................................33

Chapter 5.

LCD.C

Description

5.1

Introduction ...................................................................................35

5.2

MPLAB IDE Project Files ..............................................................35

5.3

PICmicro

®

C Libraries ...................................................................36

5.4

Source Code Descriptions ............................................................36

5.5

LCD.C

Source Code Listing ..........................................................37

5.6

XLCD.H

Source Code Listing ........................................................39

5.7

XLCD.C

Source Code Listing ........................................................42

Chapter 6.

USART.C

Description

6.1

Introduction ...................................................................................57

Advertising