DM163035+TEFLCST3 Microchip Technology, DM163035+TEFLCST3 Datasheet - Page 73

no-image

DM163035+TEFLCST3

Manufacturer Part Number
DM163035+TEFLCST3
Description
KIT, PICDEMLAB+FLOWCODE-HOME BUNDLE/
Manufacturer
Microchip Technology
Datasheet

Specifications of DM163035+TEFLCST3

Kit Contents
Component Kit, PICDEM Lab Development Board, PICkit 2 Programmer/ Debugger, CD Containing User Guide
Svhc
No SVHC (15-Dec-2010)
Development Tool Type
Hardware / Software - Dev
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
© 2009 Microchip Technology Inc.
Double-click on the C Code icon to open its Properties window. Within the Properties:
C Code window, remove any visible comments or code and add the following:
trisa = 0b11111011; //configures PORTA pin direction
cm1con0 = 0b10100000; //configures comparator 1
The Properties: C Code window should now resemble Figure 3-4.
FIGURE 3-4:
Click OK to continue. The flowchart should now resemble Figure 3-5.
FIGURE 3-5:
Note:
The nomenclature to assign a value to a register on a particular device is to
name the register (in lowercase), then assign a value to the register using
the “=” operator. The binary radix is used here for ease of reference with the
register bit designations in the PIC16F690 data sheet. The reader is
encouraged to compare these binary values to the individual bits of each
register as referenced at the beginning of this lab. Comments are not used
by the PIC16F690 and are preceded in code with “//” operator.
PROPERTIES: C CODE WINDOW WITH COMPARATOR
FINAL FLOWCHART FOR INIT_COMPARATOR MACRO
CONFIGURATION CODE ADDED
Comparator Peripheral
DS41381A-page 69

Related parts for DM163035+TEFLCST3