DM240002 Microchip Technology, DM240002 Datasheet - Page 19

BOARD DEV EXPLORER 16 44-PIN

DM240002

Manufacturer Part Number
DM240002
Description
BOARD DEV EXPLORER 16 44-PIN
Manufacturer
Microchip Technology
Series
Explorer 16 44-pinr
Type
MCUr
Datasheet

Specifications of DM240002

Contents
Explorer 16 Dev Board, PIC24FJ64GA004 and dsPIC33FJ32GP204 PIM Modules
Processor To Be Evaluated
PIC24FJ128GA010, dsPIC33FJ256GP710
Processor Series
PIC 24, dsPIC33
Data Bus Width
32 bit
Interface Type
RS-232
Silicon Manufacturer
Microchip
Core Architecture
PIC, DsPIC
Core Sub-architecture
PIC24, DsPIC33
Silicon Core Number
PIC24F, DsPIC33F
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
dsPIC30, dsPIC33, PIC32, PIC24FJ, PIC24HJ
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM240002
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM240002
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2007 Microchip Technology Inc.
For more information, refer to the I/O Ports section of the PIC16F882/883/884/886/887
Data Sheet (DS41291).
3.2.2
The first lesson showed how to turn on a LED, this lesson shows how to make it blink.
While this might seem a trivial change from Lesson 1, it gives a context to explore
several more instructions.
New Instructions
EXAMPLE 3-2:
While adding a BCF instruction and making it loop will make it blink. It will blink so fast
you won’t see it, it will only look dim. That loop requires 4 instruction times to execute.
The first instruction turns it on. The second one turns it off. The GOTO takes two instruc-
tion times, which means it will be on for 25% of the time.
As configured, the PIC
this rate, the blinking needs to be slowed down so that the blinking can be seen, which
can be done by using a delay loop.
Note:
CLRF
INCF
DECF
INCFSZ
DECFSZ
GOTO
Loop
BSF
BCF
GOTO
Blink (Delay Loop)
Counting cycles – Relating clock speed to instruction speed. The processor
requires 4 clocks to execute an instruction. Since the internal oscillator as
used in these lessons runs at 4 MHz, the instruction rate is 1 MHz.
PORTD,0
PORTD,0
Loop
Clear file register
Increment file register
Decrement file register
Increment file register, Skip next instruction if zero
Decrement file register, Skip next instruction if zero
Jump to a new location in the program
PICKIT 2, LESSON 2: BLINK
®
microcontroller executes 1 million instructions per second. At
44-Pin Demo Board Lessons
;turn on LED D0
;turn off LED D0
;do it again
DS41296B-page 15

Related parts for DM240002