LPCXpresso Base Board rev B - User’s Guide
Page 20
Copyright 2011 © Embedded Artists AB
Figure 14 – LPCXpresso Build button
3.8
Demo Application
A suitable application to start with when checking the functionality of the LPCXpresso Base Board is
the application called
demo
. This application is using several of the peripherals, such as the
accelerometer, LEDs (connected to I/O port expander), joystick, OLED display, rotary switch, 7-
segment display, SW3 button, speaker, trim potentiometer and RGB LED.
3 out of the 16 LEDs will always be lit and by tilting the board the LEDs that are lit will change
(as a moving) bar. The way you move the board (in y-axis) will change the direction and
speed of this bar.
The joystick can be used to draw on the OLED display. It is like moving a pen you never lift
from the paper. By using the center key on the joystick the display is cleared.
Rotating the rotary switch will change which digit (0 to 9) is shown on the 7-segment display.
Pressing the SW3 button will start playing a melody.
Turning the trim potentiometer will turn on/off the RGB LEDs
Please
note
that P1.10 is used both to control power to the OLED display and to one of the RGB
LEDs. This means that by changing the position of the trim potentiometer you can turn on/off both the
green LED and the OLED display.
Also note that J62 shall be in position 1-2 for LPC176x target boards (which is not the default position).