Keil Logo

BLINKY

The BLINKY example program blinks the LEDs on Port 2 sequentially back and forth continuously.

The BLINKY example project demonstrates assembling, compiling, linking, downloading, and debugging using the µVision IDE on the MCB900 board. The on-board LEDs make it easy to visually verify that the program loads and executes properly.

Loading BLINKY

To load the BLINKY project, select Open Project from the Project menu and open Blinky.UV2 from the folder:

  • ..\KEIL\C51\EXAMPLES\PHILIPS LPC9XX\BLINKY

Open BLINKY Project Dialog

Project WorkspaceWhen the BLINKY project opens, the µVision Project Workspace window displays the source files that make up the project.

  • Blinky.c: the C source file that controls the LED display.
  • START900.A51: CPU startup file for the Philips P89LPC935 or P89LPC932 devices.
  • ABSTRACT.TXT file contains documentation about the project.

Editing BLINKY.C

You may edit Blinky.c or review the source code. Double click on Blinky.c in the Files page of the Project Window. µVision loads and displays the contents of Blinky.c in an editor window.

Running BLINKY

Perform the following three steps to run the BLINKY Example on the MCB900 Evaluation Board:

  1. Building BLINKY
  2. Downloading BLINKY
  3. Debugging BLINKY
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.