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

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.
FIGURE 3-17:
Click OK to continue.
7. In the Properties: Interrupt window, be sure that the TMR0_ISR macro is selected
8. In the TMR0_ISR flowchart window, drag/drop a Calculation icon between the
in the “Will call macro:” drop-down menu and click the OK & Edit Macro button
to open the TMR0_ISR macro flowchart window.
BEGIN and END points. Double-click on the icon to open the Properties:
Calculation window. Rename the icon to something descriptive, like “Assign
counter to LED_Output”, and add the following code to the “Calculations”
section:
LED_Output = counter << 4
counter = 0
The current value in the counter variable is shifted four bits to the left before
being assigned to the LED_Output variable. The main flowchart will implement
a 1mS delay in the Timing functional block that will ensure the counter vari-
able never exceeds a 4-bit value. Once comfortable with the contents of this lab,
the user is encouraged to manipulate various parameters of the application firm-
ware such as the delay or using an 8-bit result to output to the LEDs connected
to the PIC16F690 pins. The Properties: Calculation window should now
resemble Figure 3-18.
CREATE A NEW MACRO WINDOW FOR TMR0 INTERRUPT
SERVICE ROUTINE
Comparator Peripheral
DS41381A-page 83

Related parts for DM163035+TEFLCST3