Shop OBEX P1 Docs P2 Docs Learn Events
SEROUT problem — Parallax Forums

SEROUT problem

kroki78kroki78 Posts: 13
edited 2006-06-17 21:18 in General Discussion
Hi! i'm an SX newbie. I have many experience with BS2/BS2P and a little with PIC. Now i need to control a 24x8 char serial LCD with SX28.
I use SX/B cause i'm used to Basic, and i have many problems with ASMsmile.gif
It recieves 9600Baud data. I tryed the simple SEROUT ra.1, T9600, "@" and i also tried N9600 too, but it doesn't work.
I figured, that maybe the oscillator isn't correct, so i tried the internal 4Mhz, 20Mhz and 50Mhz oscillators and even a 3.6864Mhz Baud rate oscillator, and no result, only sometimes some random char.

The funny thing is that on the PIC with some basic compiler it works with a simple serout, like the one above.

Could anyone help me solve this problem?

p.s.: is it possible to SEROUT data in SX/B in 7bit format?

Comments

  • steve_bsteve_b Posts: 1,563
    edited 2006-06-17 21:18
    How about posting some code!? (preference being that the code is attached rather than copy/pasted)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    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."
Sign In or Register to comment.