¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Using an analog to determine direction


 

I don't believe that will work. While it is running a solution, the system does not retrieve new values from the internal queues that hold the values from the hardware. So when you compare the N-many wave delayed value to the "new" value they're going to be the same.

--- In Crestron@..., Jeremy Weatherford <jweather@...> wrote:

Delay the position value by a few waves by wrapping it through an ABUF,
then use ACOMP2 to see whether the new value is higher or lower. Depending
on how fast it's moving, the > and < outputs won't be on full-time, but you
could use a ROS to hold them high for a second or two, that should give you
a continuous "moving up" or "moving down" indicator.


On Thu, Jun 13, 2013 at 12:15 PM, Audible Solutions <
crestronprogrammer.1@...> wrote:

Is there a way to take an unsigned analog and determine if the value is
ramping up to 65535d or down to 0d in Simpl? Obviously, you can use a
slider but I've been forbidden the use of these in this case. I only have
an analog value for feedback and I need some way to determine digital
feedback on buttons. If it matters, it is for a shade and I have to
determine if the shade is going up, down or stopped based on the analog.

TIA

Alan



------------------------------------




Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links




--
Jeremy Weatherford


[Non-text portions of this message have been removed]

Join [email protected] to automatically receive all group messages.