Contact closures to RS-232 - need advice
MATTG
Posts: 5
Hello,
New to microcontrollers.· Looking to use a basic stamp 2 module to translate contact closures into RS-232 commands·that would·drive an eight input·video switcher.· I'm looking at the stampworks experiment kit to get started.· Will the basic stamp 2 module handle this?· Does anyone have any pointers or tips on where to start?· Thank you in advance.
MG
Post Edited (MATTG) : 9/14/2009 5:18:51 PM GMT
New to microcontrollers.· Looking to use a basic stamp 2 module to translate contact closures into RS-232 commands·that would·drive an eight input·video switcher.· I'm looking at the stampworks experiment kit to get started.· Will the basic stamp 2 module handle this?· Does anyone have any pointers or tips on where to start?· Thank you in advance.
MG
Post Edited (MATTG) : 9/14/2009 5:18:51 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
It sounds like a BS2 module can handle what you want, but I would recommend the BS2p if you haven't ordered the BS2 yet. The BS2p / pe / px has some very useful statements and extra memory that the BS2 doesn't have.
My question at this point -·How do I latch a button press?· I would like to select an input and have it stay hot until the next input is selected.·
Thanks in advance,
Matt
Post Edited (MATTG) : 9/17/2009 4:40:55 PM GMT
Switches are latching outputs, &·I can see that the correct commands are being sent via my viewport terminal.
Since this is my first project, does anyone have any suggestions?· Thanks in advance.
-Matt
Wow, that really cut it down.· It's going to take a little time to digest what you did.· Just looked up OUTH, DIRH, and INL . . . those make sense.· When I do a CNTL-T to check syntax, it comes back with "expected a variable modifier" highlighting Bit in line 63.· Can you explain?· ·
Thanks again,
Matt
Thanks again.· Both "temp.BIT0(i)" and "temp.LOWBIT(i)" worked.· Now I need to figure out how to hold "i" HIGH until another button is pressed.
Matt