DM240002 Microchip Technology, DM240002 Datasheet - Page 21

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.
3.2.3
Building on Lessons 1 and 2, which showed how to light up a LED and then make it
blink with a delay loop, this lesson adds rotation. It will light up DS8 and then shift it to
DS7, then DS6 and on down to DS1, and then back to DS8.
New Instructions
Rotate Program Flow
• First, initialize the I/O port and the Display,
• Copy the Display variable to the I/O Port, then
• Delay for a little while
• Rotate the display
FIGURE 3-1:
Note:
MOVLW
MOVWF
MOVF
RRF
RLF
Lesson 3: Rotate (Move the LED)
Moving a file register to itself looks like a NOP at first. However, it has a
useful side effect in that the Z flag is set to reflect the value. In other words,
MOVF fileregister,f is a convenient way to test whether or not the
value is zero without affecting the contents of the WREG.
Loads WREG with a literal value
Moves the contents of WREG to a file register
Moves the contents of a file register, either to WREG or back into
the file register (see note)
Rotate file register right
Rotate file register left
ROTATE PROGRAM FLOW
Initialize I/O Port
44-Pin Demo Board Lessons
Did it overflow?
Put Up Display
Rotate Display
Reset Display
Delay
No
Yes
DS41296B-page 17

Related parts for DM240002