Shop OBEX P1 Docs P2 Docs Learn Events
sending A getting ? — Parallax Forums

sending A getting ?

MabMab Posts: 12
edited 2008-08-22 23:38 in General Discussion
I am sending it to my PC in hyperterminal. the cable is ok (it works with my basic stamp)

DEVICE········· SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ··········· 4_000_000
Start:
Main:
pause 1
SEROUT RB.0, T9600, "A"·· ;geting ? in hyperterminal.
pause 1
SEROUT RB.0, N9600,·"A"··;geting ≡ in hyperterminal.
pause 500
· GOTO Main

thanks for your help

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-08-21 21:14
    OSC4MHZ

    You are using the internal oscillator.· That's not good enough for serial comms.· You'll have to use a better timebase (resonator, external crystal, crystal oscillator.)
  • MabMab Posts: 12
    edited 2008-08-22 12:10
    thank will do
  • MabMab Posts: 12
    edited 2008-08-22 20:12
    ok it is working now. is there a way to run it with the USB key in or will i allways need to pull it out and restart it.
  • JonnyMacJonnyMac Posts: 9,215
    edited 2008-08-22 23:38
    Use can run your program from a USB SX-Key but not from the USB SX-Blitz (check the name on the bottom of the board you have).
Sign In or Register to comment.