Keil™, An ARM® Company

µVision® IDE & Debugger

This feature works with...
ARMC166C251C51Eval

Example Programs

µVision includes a number of example programs you may use to verify operation of the tools and to quickly get started. Example programs are stored in the various \KEIL\...\EXAMPLES\ folders. Each program is stored in a separate folder along with a project file to help you quickly build and evaluate each program.

Some of the example project files contain several targets with different configurations. Refer to the document ABSTRACT.TXT in each project folder for detailed information.

ProjectDescription
BADCODEThis example program has syntax errors and warnings. It is used to demonstrate the error and warning detection capabilities of µVision.
BLINKYThis example program toggles through the pins of an I/O port.
CSAMPLEThis example program implements a simple calculator that shows how to build a multi-module project with µVision.
DHRYThis example program is an implementation of the Dhrystone benchmark. It calculates the dhrystones factor for the target CPU.
HELLOThis example program is the traditional "Hello World" program. Try this first when you begin using µVision. It prints "Hello World" on the serial interface and helps you confirm that the development tools work correctly.
MEASUREThis example program is a simple data acquisition system for analog and digital signals. This is a god example to review to learn how to use debugger scripts along with the Logic Analyzer.
SIEVEThis example program contains the Sieve Benchmark that calculates prime numbers.
TRAFFICThis example program is a traffic light controller implemented using the Keil real-time kernel.