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-21 12:33 in General Discussion
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]
Sign In or Register to comment.