Shop OBEX P1 Docs P2 Docs Learn Events
What''s a microcontroller ? — Parallax Forums

What''s a microcontroller ?

ArchiverArchiver Posts: 46,084
edited 2004-06-22 04:28 in General Discussion
Ok i understand all of that coding . but when i push the P3 button i still
have data showing up in the debug terminal and after that "Press Switch to
start machinery" comes up as long as the button P3 is pressed. The Led is
red as they want in the problem . I just can't figure out how to stop data
from going to the Debug Terminal when P3 is being pressed.
Original Message
From: <Newzed@a...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, June 21, 2004 9:33 AM
Subject: Re: [noparse][[/noparse]basicstamps] What's a microcontroller ?


> In a message dated 6/21/2004 10:10:21 AM Eastern Daylight Time,
> mrripple@s... writes:
>
>
> > The first problem on page 132 below the word Projects. number one. Can'
> > figure out how to stop the terminal from accepting data when P3 is
pressed.
> >
> >
> You want to modify the program so that it stops accepyting commands.
>
> Clues:
>
> P3 = in3
> p4 = in4
>
> if P3 is pushed then in3 = 1
> if P4 is pushed then in4 = 1
>
> You will need a new label at the start of the program:
>
> start:
> if ...........? then.............?
>
> Is tht enough help or do you need more?
>
> 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
>
>
>
>
>
>
Sign In or Register to comment.