MCB2400 User's GuideIntroduction Setup Theory of Operation Writing Programs Example Programs BLINKY Building BLINKY Downloading BLINKY Debugging BLINKY Checking Program Output USBHID - Human Interface Device Building USBHID Downloading USBHID Running USBHID Debugging USBHID (ULINK only) USBMEM - Mass Storage Device Building USBMEM Downloading USBMEM Running USBMEM
The BLINKY example program uses the on-chip I2C interface to flash the 4 LEDs in sequence. The potentiometer controls the speed of the flashing using the ADC. The ADC value is continuously output to the serial port.
The BLINKY example project demonstrates assembling, compiling, linking, downloading, and debugging using the µVision IDE on the MCB2400 board. The on-board LEDs make it easy to visually verify that the program loads and executes properly.
To load the BLINKY project, select Open Project from the Project menu and open BLINKY.UV2 from the \KEIL\ARM\BOARDS\KEIL\MCB2400\BLINKY\ folder.
When the BLINKY project opens, the µVision Project Workspace window displays the source files that make up the project.
The Abstract.txt file contains documentation about the project.
You may edit Blinky.c or review the source code. Double click on Blinky.c in the Files page of the Project Workspace window. µVision loads and displays the contents of Blinky.c in an editor window.
Perform the following four steps to run the BLINKY Example on the MCB2400 Evaluation Board:
of your data.