toggling all outputs to test a Stamp
Archiver
Posts: 46,084
In a message dated 7/20/2004 6:52:44 PM Eastern Daylight Time,
klaus0@x... writes:
> But how do you make this visual if it is working? An other thing I'm just
> thinkig of is the following: do'nt you need to test the inputs as well?
>
Connect an LED to one port at a time. Haven't figured out to test the inputs
yet.
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]
klaus0@x... writes:
> But how do you make this visual if it is working? An other thing I'm just
> thinkig of is the following: do'nt you need to test the inputs as well?
>
Connect an LED to one port at a time. Haven't figured out to test the inputs
yet.
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
It may work, I can's tell you for sure though.
But how do you make this visual if it is working? An other thing I'm just
thinkig of is the following: do'nt you need to test the inputs as well?
Regards,
Klaus
Original Message
From: <Newzed@a...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, July 21, 2004 12:18 AM
Subject: [noparse][[/noparse]basicstamps] (no subject)
> I think this is right just want to check. I want to toggle all 16 I/O
ports
> to check a BS2. Will this do it
>
> outs = 1
>
> do
> toggle outs
> pause 200
> loop
>
> 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.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Toggling all pins HIGH and then all pins LOW at the same time with
leds connected is not a strong test. If two pins are shorted
together (a common occurrence in DIY projects!) the neighboring pins
will not ever have to contend with one another.
Testing with the led does show if there is an open circuit to the
pin. But say the led lights when the pin is HIGH. The test does
not then really show that the pin can go LOW (It might have been
blown by an inductive kickback, huh?)
-- Tracy
>In a message dated 7/20/2004 6:52:44 PM Eastern Daylight Time,
>klaus0@x... writes:
>
>
>> But how do you make this visual if it is working? An other thing I'm just
>> thinkig of is the following: do'nt you need to test the inputs as well?
>>
>
>Connect an LED to one port at a time. Haven't figured out to test the inputs
>yet.
>
>Sid
>