AMICUS18-COMPANION-SHIELD AMICUS, AMICUS18-COMPANION-SHIELD Datasheet - Page 13

Amicus18 Companion Shield

AMICUS18-COMPANION-SHIELD

Manufacturer Part Number
AMICUS18-COMPANION-SHIELD
Description
Amicus18 Companion Shield
Manufacturer
AMICUS

Specifications of AMICUS18-COMPANION-SHIELD

Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Features
USB Interface, In Circuit Serial Programming Interface
Kit Contents
Board
Silicon Family Name
PIC
Silicon Core Number
PIC18F25K20
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
PIC18F25K20 Microcontroller
The circuit for the two LED flasher layout is shown below:
The code for driving the LEDs is shown below:
' Flash 2 LEDs connected to RB2 and RB3
Crownhill AssociatesLimited 2009 - All Rights Reserved
Symbol LED1 = RB2
Symbol LED2 = RB3
While 1 = 1
Wend
High LED1
DelayMS 500
Low LED1
High LED2
DelayMS 500
Low LED2
Amicus18 Companion Shield
Version 1.0
' LED 1 is placed on pin-2 of PortB
' LED 2 is placed on pin-3 of PortB
' Create an infinite loop
' Illuminate LED1
' Wait for half a second
' Extinguish LED1
' Illuminate LED2
' Wait for half a second
' Extinguish LED2
' Do it forever
PortB
Power
GND
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
Cathode
Anode
12
47
LED
Ω
47
LED
Ω
06-10-2009

Related parts for AMICUS18-COMPANION-SHIELD