Controlling the LED blinker help!
Archiver
Posts: 46,084
Dear list,
Does anyone have the book Programming and Customizing the Basic Stamp Computer.
I need help with page 83, Controlling the LED Blinker. When I turn the switch on
the led blinks, but when I turn it off the LED stays lit 75% of the time and not
lit 25% of the time. I check my circuit wiring and program and they were both
exactly the same as the book. I have a BS2SX on an activity board with an app
module plugged into it containing my circuit. Please help.
Sincerely,
MichaelGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
[noparse][[/noparse]Non-text portions of this message have been removed]
Does anyone have the book Programming and Customizing the Basic Stamp Computer.
I need help with page 83, Controlling the LED Blinker. When I turn the switch on
the led blinks, but when I turn it off the LED stays lit 75% of the time and not
lit 25% of the time. I check my circuit wiring and program and they were both
exactly the same as the book. I have a BS2SX on an activity board with an app
module plugged into it containing my circuit. Please help.
Sincerely,
MichaelGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
> Dear list,
>
> Does anyone have the book Programming and Customizing the Basic
Stamp Computer. I need help with page 83, Controlling the LED
Blinker. When I turn the switch on the led blinks, but when I turn it
off the LED stays lit 75% of the time and not lit 25% of the time. I
check my circuit wiring and program and they were both exactly the
same as the book. I have a BS2SX on an activity board with an app
module plugged into it containing my circuit. Please help.
>
> Sincerely,
> MichaelGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
Dear Stampers,
Heres the code from the book:
again:
if in0 = 1 then again
toggle 7
PAUSE 200
goto again
And the schematic is in the files section of this webgroup and it's
called:LED Trouble Schematic.
Please respond. I need help with this.
It looks like the design will have LED will stay in whatever state (on or
off) it was when the switch is turned off. Is this what you are
experiencing?
Regards,
Daniel
Original Message
From: mhr_54@h... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=PpF3voHlktSDbxA4HUmoLZkPpO6Ww7a1biMR1WDhy3w3GEtzIs_7wFZLZoSPOKlKJgk_nRsEU-w]mhr_54@h...[/url
Sent: Thursday, 16 August 2001 13:02
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Controlling the LED blinker help!
--- In basicstamps@y..., "Michael Robinson" <mhr_54@h...> wrote:
> Dear list,
>
> Does anyone have the book Programming and Customizing the Basic
Stamp Computer. I need help with page 83, Controlling the LED
Blinker. When I turn the switch on the led blinks, but when I turn it
off the LED stays lit 75% of the time and not lit 25% of the time. I
check my circuit wiring and program and they were both exactly the
same as the book. I have a BS2SX on an activity board with an app
module plugged into it containing my circuit. Please help.
>
> Sincerely,
> MichaelGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
Dear Stampers,
Heres the code from the book:
again:
if in0 = 1 then again
toggle 7
PAUSE 200
goto again
And the schematic is in the files section of this webgroup and it's
called:LED Trouble Schematic.
Please respond. I need help with this.
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/
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Yes, that is exactly what's happening. When I turn the switch to the
off position it stays in whatever state it was in before I flipped
the switch. Can you please respond and tell me how I could fix this
problem. Thank You
Sincerely,
mhr_54
--- In basicstamps@y..., "D. Daniel McGlothin" <ddm_stamps@y...>
wrote:
> Hi,
>
> It looks like the design will have LED will stay in whatever state
(on or
> off) it was when the switch is turned off. Is this what you are
> experiencing?
>
> Regards,
> Daniel
>
>
Original Message
> From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
> Sent: Thursday, 16 August 2001 13:02
> To: basicstamps@y...
> Subject: [noparse][[/noparse]basicstamps] Re: Controlling the LED blinker help!
>
>
> --- In basicstamps@y..., "Michael Robinson" <mhr_54@h...> wrote:
> > Dear list,
> >
> > Does anyone have the book Programming and Customizing the Basic
> Stamp Computer. I need help with page 83, Controlling the LED
> Blinker. When I turn the switch on the led blinks, but when I turn
it
> off the LED stays lit 75% of the time and not lit 25% of the time. I
> check my circuit wiring and program and they were both exactly the
> same as the book. I have a BS2SX on an activity board with an app
> module plugged into it containing my circuit. Please help.
> >
> > Sincerely,
> > MichaelGet more from the Web. FREE MSN Explorer download :
> http://explorer.msn.com
> >
> >
> > [noparse][[/noparse]Non-text portions of this message have been removed]
>
> Dear Stampers,
> Heres the code from the book:
>
> again:
> if in0 = 1 then again
> toggle 7
> PAUSE 200
> goto again
>
> And the schematic is in the files section of this webgroup and it's
> called:LED Trouble Schematic.
>
> Please respond. I need help with this.
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@y...
> 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/
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
start:
low 7
if in0 = 1 then start
alternate:
toggle 7
pause 200
if in0 = 0 then alternate
goto start
Regards,
Daniel
Original Message
From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
Sent: Friday, 17 August 2001 13:46
To: ddm_stamps@y...
Subject: Thanks for the help!
Dear Daniel,
Thank You a lot for the help. That is what's happenning. When I flip
the switch to the of position it stop the blinker and leaves it in
whatever state it was last in. Can you please help me find a way to
fix this problem so that the LED turns off when I flip the switch to
off? Thanks
Sincerely,
mhr_54
Original Message
From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
Sent: Friday, 17 August 2001 13:43
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Controlling the LED blinker help!
Dear Daniel and Stampers,
Yes, that is exactly what's happening. When I turn the switch to the
off position it stays in whatever state it was in before I flipped
the switch. Can you please respond and tell me how I could fix this
problem. Thank You
Sincerely,
mhr_54
--- In basicstamps@y..., "D. Daniel McGlothin" <ddm_stamps@y...>
wrote:
> Hi,
>
> It looks like the design will have LED will stay in whatever state
(on or
> off) it was when the switch is turned off. Is this what you are
> experiencing?
>
> Regards,
> Daniel
>
>
Original Message
> From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
> Sent: Thursday, 16 August 2001 13:02
> To: basicstamps@y...
> Subject: [noparse][[/noparse]basicstamps] Re: Controlling the LED blinker help!
>
>
> --- In basicstamps@y..., "Michael Robinson" <mhr_54@h...> wrote:
> > Dear list,
> >
> > Does anyone have the book Programming and Customizing the Basic
> Stamp Computer. I need help with page 83, Controlling the LED
> Blinker. When I turn the switch on the led blinks, but when I turn
it
> off the LED stays lit 75% of the time and not lit 25% of the time. I
> check my circuit wiring and program and they were both exactly the
> same as the book. I have a BS2SX on an activity board with an app
> module plugged into it containing my circuit. Please help.
> >
> > Sincerely,
> > MichaelGet more from the Web. FREE MSN Explorer download :
> http://explorer.msn.com
> >
> >
> > [noparse][[/noparse]Non-text portions of this message have been removed]
>
> Dear Stampers,
> Heres the code from the book:
>
> again:
> if in0 = 1 then again
> toggle 7
> PAUSE 200
> goto again
>
> And the schematic is in the files section of this webgroup and it's
> called:LED Trouble Schematic.
>
> Please respond. I need help with this.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
You solved my problem. Thank You very much for all your help.
Sincerely,
mhr_54
--- In basicstamps@y..., "D. Daniel McGlothin" <ddm_stamps@y...>
wrote:
> You could try:
>
>
> start:
> low 7
> if in0 = 1 then start
> alternate:
> toggle 7
> pause 200
> if in0 = 0 then alternate
> goto start
>
>
> Regards,
> Daniel
>
>
>
>
Original Message
> From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
> Sent: Friday, 17 August 2001 13:46
> To: ddm_stamps@y...
> Subject: Thanks for the help!
>
>
> Dear Daniel,
>
> Thank You a lot for the help. That is what's happenning. When I
flip
> the switch to the of position it stop the blinker and leaves it in
> whatever state it was last in. Can you please help me find a way to
> fix this problem so that the LED turns off when I flip the switch
to
> off? Thanks
>
> Sincerely,
> mhr_54
>
>
Original Message
> From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
> Sent: Friday, 17 August 2001 13:43
> To: basicstamps@y...
> Subject: [noparse][[/noparse]basicstamps] Re: Controlling the LED blinker help!
>
>
> Dear Daniel and Stampers,
>
> Yes, that is exactly what's happening. When I turn the switch to
the
> off position it stays in whatever state it was in before I flipped
> the switch. Can you please respond and tell me how I could fix this
> problem. Thank You
>
> Sincerely,
> mhr_54
>
> --- In basicstamps@y..., "D. Daniel McGlothin" <ddm_stamps@y...>
> wrote:
> > Hi,
> >
> > It looks like the design will have LED will stay in whatever
state
> (on or
> > off) it was when the switch is turned off. Is this what you are
> > experiencing?
> >
> > Regards,
> > Daniel
> >
> >
Original Message
> > From: mhr_54@h... [noparse][[/noparse]mailto:mhr_54@h...]
> > Sent: Thursday, 16 August 2001 13:02
> > To: basicstamps@y...
> > Subject: [noparse][[/noparse]basicstamps] Re: Controlling the LED blinker help!
> >
> >
> > --- In basicstamps@y..., "Michael Robinson" <mhr_54@h...> wrote:
> > > Dear list,
> > >
> > > Does anyone have the book Programming and Customizing the Basic
> > Stamp Computer. I need help with page 83, Controlling the LED
> > Blinker. When I turn the switch on the led blinks, but when I
turn
> it
> > off the LED stays lit 75% of the time and not lit 25% of the
time. I
> > check my circuit wiring and program and they were both exactly the
> > same as the book. I have a BS2SX on an activity board with an app
> > module plugged into it containing my circuit. Please help.
> > >
> > > Sincerely,
> > > MichaelGet more from the Web. FREE MSN Explorer download :
> > http://explorer.msn.com
> > >
> > >
> > > [noparse][[/noparse]Non-text portions of this message have been removed]
> >
> > Dear Stampers,
> > Heres the code from the book:
> >
> > again:
> > if in0 = 1 then again
> > toggle 7
> > PAUSE 200
> > goto again
> >
> > And the schematic is in the files section of this webgroup and
it's
> > called:LED Trouble Schematic.
> >
> > Please respond. I need help with this.
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com