simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] feedback example improved


From: Joel Sherrill
Subject: [Simulavr-devel] feedback example improved
Date: Mon, 13 Apr 2009 16:30:10 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Hi,

I added a bit to the feedback example.  Nothing
particularly fancy, just enough to show that
it is possible to interpret output from the simulated
AVR and have an external program interpret and
react.

The example prints hello world #N where N is
1, 2 or 3.  Based upon the value it sees, the
feedback program changes the value input to ADC0.
The main() now prints the value it sees on ADC0
in between each line.

If you were testing a real application, you would
obviously be doing something MUCH more involved
but this illustrates the concept.

--
Joel Sherrill, Ph.D.             Director of Research & Development
address@hidden        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985






reply via email to

[Prev in Thread] Current Thread [Next in Thread]