HomePACESearch
ProjectsForumsSite Map

Current:
Level Down:

Example Programs

Please see the software download page and download the complete installer. This includes all the documentation and the example programs for all chips and application notes.
Here's the code for a little demo we made. It involves a small schematic, and whether you build it or not, you'll get the idea of how to do digital Pin IO and multitasking. The program counts from 0 to 9 (and repeats) one number per second and displays the count on an LED display. At the same time, another task runs that flashes the LEDs on the BX24 the number of times shown on the display and waits until the display changes. Schematic is also included.

Create a project and add this file to the project. Hit 'Compile and Run' from the Compile menu and go ooh...ahh a couple of times.

Demo.bas -- The Source File
Demo.jpg -- The Schematic

This document created by: CJ Oster and Joe Ngai

Last Modified: April 09, 2003
Please contact Professor Gary Swenson (swenson1@uiuc.edu) to learn more about the course, or contact the webmaster (wiegert@uiuc.edu) with questions or comments about the web site.  Web Site designed by Purvesh Thakker.