Basic Stamp
argmafia
Posts: 30
Is there a Basic Stamp out there that has more I/O ports than the BS2e, but uses the same programming language.
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 3/4/2006 3:48:21 AM GMT
·· Nice catch...Thanks for the save...It's been a Looooong day....TGIF!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Certainly the 'loop-back' and 'echo' hardware on that particular line would cause you grief, but if you are indeed using it for serial data, there would be no problem using.
About the only headache becomes debugging problems with your setup when you're using the programming/debug port as an input.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
The direct answer to your question is yes you can, with the caveats already mentioned. However, you would probably be doing yourself a BIG favor to reduce the number of pin ports you're presently using, either by having some of them do "double duty", or by using a parallel-in serial-out shift register as an ancillary port.
There are also other "port extender" chips available that are made just for this purpose. The ones that are often being suggested of late are the MicroChip Serial Peripheral chips found at the link below:
http://www.microchip.com/ParamChartSearch/chart.aspx?branchID=11034&mid=11&lang=en&pageId=79
A search of this Stamp Forum for (say) "MCP23016" will lead you to some sample PBASIC programs for implementing it. Once implemented, the MCP23016 affords you 16 additional pin ports for less than $5.00 US!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->