SERIN Question
kenwtn
Posts: 250
·· OK, So I am still a NEWBIE and they say no question is a dumb one, well I may be about to prove that wrong. Every example that I have seen with SERIN, SEROUT uses either PIN 0 or PIN 8 is there something special about those PINS or will any PIN work with SERIN, SEROUT?
·
·
Comments
Also a newbie who hasn't found the PBASIC Stamp Manual or the Stamp Editor Help file, either of which would have answered this and many other forthcoming questions. Any pin port (0-15) can be used for SERIN and SEROUT. Pin port 16 can also be used, but should be considered a special case, as it operates slightly differently.
Regards
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
It seems that the best bet is just to move the Serial connection to PIN-0 to another PIN and change the program.
Are you looking to use one or two LCD's on this board? It's hard to tell from your message.
Are both of the LCD's serially accessed, or is one serial and one parallal. If you're not sure, just give us the Catalog Number of the Parallax LCD you're using, as that will answer the question.
I suspect the Parallax LCD is parallel accessed, and you're looking to use the LCDOUT command available on the more advanced Stamp platforms. Is this correct?
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Why two LCD on one board? good question and my only answer is because I have two LCD's. The robot I am building of my own design will have individual modules each module powered by one of the BS2 series of stamps. This happans to be the display module for my robot and I thought I would give it two LCD displays. I may want to monitor information from two other modules at the same time or something like that.
The Parallax serial LCD can be used on any pin port that is not otherwise used. Just as a general matter, it might be wise to separate the two LCDs by a couple of Stamp pins, if possible, just to prevent any possibility of crosstalk.
Where you place the Newhaven parallel LCD depends on whether you are planning to use the LCDOUT command found on the more advanced Stamps (BS2p, BS2pe, BS2pe and BS2px). If you ARE planning to use the LCDIN, LCDOUT or LCDCMD commands, you will need to check the PBASIC Stamp Manual or the PBASIC Help File for reserved pins used by those commands. A total of 4 pins are used when using that LCDxx command series.
If you are NOT using the LCDOUT commands, the pin assignments are totally up to you. Same caveats mentioned above regarding potential crosstalk still apply.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
HELP! Since I am a NEWBIE before the BS2p's there was no way to use a parallel LCD? I took a very quick look throught the book but did not see anything that might work and allow me to use just a BS2 to control a parallel LCD.
http://www.parallax.com/detail.asp?product_id=603-00006
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com