Shop OBEX P1 Docs P2 Docs Learn Events
4x4 keypad to serout — Parallax Forums

4x4 keypad to serout

ourstreamingourstreaming Posts: 1
edited 2010-11-07 20:12 in BASIC Stamp
Hi everyone:
Can this "Hello World", be sent with serout by pressing a key on a 4x4 keypad?
Will someone please point me in the right direction on how to do this?

' {$STAMP BS2}
' {$PBASIC 2.5}
SEROUT 16, 16416, ["Hello World!", CR] '19,200 baud
END

Thanks
Leon

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-11-07 20:12
    Look at Nuts and Volts Column #22 (here) for information on scanning a keypad. Then you have to learn how to program the Stamp using PBasic to make decisions. The "What's a Microcontroller?" tutorial that's included with the Stamp Editor's help files is a good starting place.
Sign In or Register to comment.