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

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 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 1818281+1818282