Shop OBEX P1 Docs P2 Docs Learn Events
ADC0831 Query — Parallax Forums

ADC0831 Query

JBJB Posts: 5
edited 2004-12-10 01:51 in BASIC Stamp
I have attached my code herewith
I modified the code from manual to give me readings from 2 ADC.
I want both of them to display together.
They currently display one after another.
There is no CLS in the code to scrap off one reading before I get another. Why can't I see both together then??


Also, If I want to send the data from BS2 serailly using RS232, would I send "adcbits" or "v" from the code. I want to receive 8 bits at receiving end.

And lastly, I am looking on how to send \s (space) and \n(newline) from BS2 using SEROUT. I am aware that TAB and CR are available as defaults in BS2 but what about space and newline?? If so, what are their representation and how many bits are they sent as?
I want to use them as delimiters between my signals when I send them using SEROUT.

Thanks alot for your help.

Comments

  • edited 2004-12-10 01:51
    JB,

    It looks like you expanded an example from Basic Analog and Digital. I will post a reply to this in the Stamps in Class Forum.

    Click this link (ADC0831 Query), and it should take you to the reply post.

    Regards, Andy

    Post Edited (Andy Lindsay) : 12/10/2004 2:50:43 AM GMT
Sign In or Register to comment.