Shop OBEX P1 Docs P2 Docs Learn Events
Typo in button program — Parallax Forums

Typo in button program

ArchiverArchiver Posts: 46,084
edited 2004-04-08 13:48 in General Discussion
Hello from Gregg C Levine
Take a look at the phrase that describes how the person is supposed to
connect a button switch to the P0 pin. Shouldn't that "and" be an "an"
instead? Oh, I did figure out the program's meaning. And did get it to
work, it produced the expect results. The term "active-low pushbutton
circuit", was easy to figure out, and the help page explained it.

'
[noparse][[/noparse] Description
]
'
' Connect and active-low pushbutton circuit to pin P0 of the BS1.
When you
' press the BUTTON, the DEBUG screen will display an asterisk (*).
Feel
' free to modify the program to see the effects of your changes on the
way
' BUTTON responds.
'
' Try changing the Delay value (255) in BUTTON to see the effect of
its
' modes: 0 = No debounce; 1-254 = Varying delays before auto-repeat;
' 255 = No auto-repeat (one action per button press).

However the typo is also present in the help page example. Are those
resistors necessary?
Gregg C Levine hansolofalcon@w...
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke."· Obi-Wan Kenobi

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-08 13:48
    You can send documentation typos/suggestions to editor@p.... That error
    has been corrected.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MWe8_LNH0vxWE6_rLUVeaOEF-THD1c8tqurhUwy76K234_M45-hE4DLzviDnCSr4poX7k0HD21zQF1lkIx_Nn6yU2HuoxeGB]hansolofalcon@w...[/url
    Sent: Wednesday, April 07, 2004 9:34 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Typo in button program


    Hello from Gregg C Levine
    Take a look at the phrase that describes how the person is supposed to connect a
    button switch to the P0 pin. Shouldn't that "and" be an "an" instead? Oh, I did
    figure out the program's meaning. And did get it to work, it produced the expect
    results. The term "active-low pushbutton circuit", was easy to figure out, and
    the help page explained it.

    '
    [noparse][[/noparse] Description
    ]
    '
    ' Connect and active-low pushbutton circuit to pin P0 of the BS1. When you '
    press the BUTTON, the DEBUG screen will display an asterisk (*). Feel ' free to
    modify the program to see the effects of your changes on the way ' BUTTON
    responds. ' ' Try changing the Delay value (255) in BUTTON to see the effect of
    its ' modes: 0 = No debounce; 1-254 = Varying delays before auto-repeat; ' 255 =
    No auto-repeat (one action per button press).

    However the typo is also present in the help page example. Are those resistors
    necessary?
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi




    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







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
Sign In or Register to comment.