20
LV24- v6 Development System
MikroElektronika
page
15.0. LEDs
LED (Light-Emitting Diode) is a highly efficient electronic light source. When connecting LEDs, it is necessary to use a current limiting
resistor. A common LED voltage is approximately 2.5V, while the current varies from 1 to 20mA depending on the type of LED. The
LV24-33 v6
uses LEDs with current I=1mA.
There are 96 LEDs on the
LV24-33 v6
development system which visually indicate the state of each microcontroller I/O pin. An
active LED indicates that a logic one (1) is present on the pin. In order to enable the pin state to be shown, it is necessary to select
appropriate port (PORTA, PORTB, PORTC, PORTD, PORTE, PORTF, PORTF/G or PORTG) using the DIP switch SW13.
Figure 15-2
: LEDs and port PORTB connection schematic
Figure 15-1
: LEDs
Microcontroller
SMD resistor limiting current
flow through an LED
A
K
Notch indicating the SMD
LED cathode
Port PORTB LEDs are turned on