Chapter 7. analog.c description, 1 introduction, Chapter 7 – Arizona Picdem 17 User Manual

Page 67: Analog.c, Introduction, Picdem™ 17 demonstration board user’s guide, Chapter 7. analog.c description 7.1 introduction

Advertising
background image

2001 Microchip Technology Inc.

DS39024B-page 61

PICDEM™ 17 DEMONSTRATION

BOARD USER’S GUIDE

12

Chapter 7. ANALOG.C Description

7.1

Introduction

This chapter describes the demonstration program for the PIC17C756A,

ANALOG.C

. This program continuously converts on channel 0 (which is

connected to a precision 4.096V voltage reference) and displays the result in
ASCII on the Monitor program. The A/D module is configured to use the AV

DD

and AV

SS

pins as the voltage reference.

Highlights

This chapter covers the following topics:

• MPLAB

®

IDE Project Files

• PICmicro

®

C Libraries

• Source Code Descriptions

ANALOG.C

Source Code Listing

MPLAB IDE Project Files

The project ANALOG.PJT contains the following files:

The files in this project use the following header files:

P17C756.H

DELAYS.H

USART16.H

STDLIB.H

ADC16.H

ANALOG.PJT

DEMO756L.LKR

P17C756.O

PMC756L.LIB

C0L17DEM.O

ANALOG.C

Advertising