Input command
Archiver
Posts: 46,084
Hi All,
I'm sending a signal to a input on a stamp, its a very short burst of
+voltage (I have a LED hooked up in parallel so I can see the pulse) I'm
using a "input=1 then" in a loop to see it, I have also tried the button
command"
My problem is that some times the program doesn't see the burst of
+voltage, is their a latching type of input command or a hold for one
second to see the voltage ??
Bob
I'm sending a signal to a input on a stamp, its a very short burst of
+voltage (I have a LED hooked up in parallel so I can see the pulse) I'm
using a "input=1 then" in a loop to see it, I have also tried the button
command"
My problem is that some times the program doesn't see the burst of
+voltage, is their a latching type of input command or a hold for one
second to see the voltage ??
Bob
Comments
writes:
> I'm sending a signal to a input on a stamp, its a very short burst of
> +voltage (I have a LED hooked up in parallel so I can see the pulse) I'm
> using a "input=1 then" in a loop to see it, I have also tried the button
> command"
>
You have to say 'in(pin) = 1 then......
If you are inputting to pin 0 then write
if in0 = 1 then......
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]
the message.
Bob Phillips
> [noparse][[/noparse]Original Message]
> From: <Newzed@a...>
> To: <basicstamps@yahoogroups.com>
> Date: 3/9/2003 12:48:06 PM
> Subject: Re: [noparse][[/noparse]basicstamps] Input command
>
> In a message dated 03/09/2003 12:31:14 Eastern Standard Time,
robertp@v...
> writes:
>
>
> > I'm sending a signal to a input on a stamp, its a very short burst of
> > +voltage (I have a LED hooked up in parallel so I can see the pulse)
I'm
> > using a "input=1 then" in a loop to see it, I have also tried the
button
> > command"
> >
>
> You have to say 'in(pin) = 1 then......
> If you are inputting to pin 0 then write
> if in0 = 1 then......
>
> Sid
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
writes:
> Yes, I am using the correct input (pin)=1 command, I just didn't say it in
> the message.
>
Then the next thing is to just set the pin high - don't pulse it. If you
pulse it, by the time the program getss to the loop the pulse is gone and pin
= 0.
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]