Wednesday, October 04, 2006

The Magic of Measure

Now the button is working, it's time to move back up the application and take a look at the overall logic.
There's a real-time kernel is included in the RealView Microcontroller Development Kit as a binary object and the kit comes with quite a few examples of using it. I had a look at the Measure Example (a simple data logger) that is in:

\Keil\ARM\RV30\RTL\Kernel\Examples\Measure

From a first pass this comes pretty close to what I want to do. It reads and records an analog input with a time stamp. When run in simulation, you can push a button to generate a varying 0-3 Volt analog input which is duly recorded by the application.

The weird bit for me is that the initialization code doesn't seem to contain anything to define the buttons which stimulate it. The code to generate the 0-3 Volts is there but the code to bind that to a button is not. I wonder where it is?

0 Comments:

Post a Comment

<< Home