[Top][All Lists]

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

Re: [Simulavr-devel] anacomp example

From: Klaus Rudolph
Subject: Re: [Simulavr-devel] anacomp example
Date: Mon, 23 Feb 2009 19:27:57 +0100
User-agent: Thunderbird (X11/20081227)

Joel Sherrill schrieb:
> Hi,
> I wonder if something is wrong with the example
> (or simulator or gui)
> I expected to be able to run the gui for a while
> and alternate changing the two analogs to 1 and 0.
> So every other value set, they differ or match.

Maybe a misunderstanding? analog values have a range from 0 to MAX_INT.
So you can add anything not only one or zero :-)

The two values would be compared. If first is bigger then the second,
comparison results in 1 otherwise in 0. Maybe it could be exactly
opposite, can't remember the example and the order of the windows.


reply via email to

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