1818281+1818282 Microchip Technology, 1818281+1818282 Datasheet - Page 18

no-image

1818281+1818282

Manufacturer Part Number
1818281+1818282
Description
EDF / AMICUS18 + SHIELD, BUNDLE
Manufacturer
Microchip Technology
Type
Development Boardr

Specifications of 1818281+1818282

Kit Contents
Board
Svhc
No SVHC (15-Dec-2010)
Kit Features
Nine 10-bit ADC Inputs, Two 10-bit PWM Outputs, Two Comparators
Mcu Supported Families
PIC18F25K20
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18FxxKxx
The circuit for the eight LED layout is shown below:
A suitable program for the 8 LED sequencer is shown below:
' Illuminate 8 LEDs attached to PortB in sequence
' Using discrete commands
' Make sure the Amicus18 board’s jumper Q3 is set to the RB1 position
'
The above program will illuminate each LED in turn.
Crownhill AssociatesLimited 2009 - All Rights Reserved
Low
While 1 = 1
Wend
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
DelayMS 300
PORTB
= %00000001
= %00000010
= %00000100
= %00001000
= %00010000
= %00100000
= %01000000
= %10000000
PortB
Power
GND
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
Amicus18 Companion Shield
Version 1.0
' Make PortB output low (Extinguish all the LEDs)
' Create an infinite loop
' Illuminate the first LED
' Delay a pre-determined amount of time
' Illuminate the second LED
' Delay a pre-determined amount of time
' Illuminate the third LED
' Delay a pre-determined amount of time
' Illuminate the fourth LED
' Delay a pre-determined amount of time
' Illuminate the fifth LED
' Delay a pre-determined amount of time
' Illuminate the sixth LED
' Delay a pre-determined amount of time
' Illuminate the seventh LED
' Delay a pre-determined amount of time
' Illuminate the eighth LED
' Delay a pre-determined amount of time
' Close the loop
Cathode
Anode
47
LED
Ω
47
LED
Ω
47
LED
Ω
17
47
LED
Ω
47
LED
Ω
47
LED
Ω
47
LED
Ω
06-10-2009
47
LED
Ω

Related parts for 1818281+1818282