a little help

Started by loopstick2000 May 17, 2005
anyone have ideas on the most efficient call to have a single voltage input toggle a variable
(or an output) between two states. I'm using GetADC to sense the voltage pulse but I also
need to reverse direction of a motor on every other pulse.

thanks

-s-


How many volts?
loopstick2000 wrote:

> anyone have ideas on the most efficient call to have a single voltage
> input toggle a variable
> (or an output) between two states. I'm using GetADC to sense the
> voltage pulse but I also
> need to reverse direction of a motor on every other pulse.
>
> thanks
>
> -s- >
>
> *>.




The Motor is a 12V 10A motor. BasicX24 senses 3V using GetADC. All that
works fine. And I've got the motor reverse code working now as well. Thanks
anyway...

<br><br><br>From: Neil Jepsen &lt;njepsen@njep...&gt;<br>Reply-To:
basicx@basi...<br>To: basicx@basi...<br>Subject: Re:
[BasicX] a little help<br>Date: Wed, 18 May 2005 13:10:29 +1200<br><br>How
many volts?<br>loopstick2000 wrote:<br><br> &gt; anyone have ideas on the
most efficient call to have a single voltage<br> &gt; input toggle a
variable<br> &gt; (or an output) between two states. I'm using GetADC to
sense the<br> &gt; voltage pulse but I also<br> &gt; need to reverse
direction of a motor on every other pulse.<br> &gt;<br> &gt; thanks<br>
&gt;<br> &gt; -s-<br> &gt;<br> &gt;<br> &gt;<br> &gt;
<br>
&gt; *Yahoo! Groups Links*<br> &gt;<br> &gt; * To &lt;http://docs.yahoo.com/info/terms/&gt;.<br>
&gt;<br> &gt;<br><br