MCBSTR7 User's GuideIntroduction Setup Theory of Operation Writing Programs Example Programs BLINKY Building BLINKY Downloading BLINKY Debugging BLINKY Checking Serial Output RTX RTOS Example RTX-ARM Interrupt Functions STR71x Firmware Library Interrupt Functions
The BLINKY example program toggles the LEDs on GPIO2 and prints the text "Hello World" to the serial port COM0. The toggle speed of the LEDs depend on the input voltage of the AIN0 input.
The BLINKY example project demonstrates assembling, compiling, linking, downloading, and debugging using the µVision IDE on the MCBSTR7 board. The on-board LEDs make it easy to visually verify that the program loads and executes properly. The HyperTerm terminal emulator program makes it easy to verify serial output.
To load the BLINKY project, select Open Project from the Project menu and open BLINKY.UV2 from the following 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 MCBSTR730 Evaluation Board:
of your data.