Shop OBEX P1 Docs P2 Docs Learn Events
uOLED- SEROUT SX/B help plz — Parallax Forums

uOLED- SEROUT SX/B help plz

AndreaAndrea Posts: 17
edited 2008-05-31 09:36 in General Discussion
Hello to everybody,
code below is from bs2 uOLED-Demo1.bs2 tutorial
SEROUT TxPin, Baud, [noparse][[/noparse]"s", 0, 4, 0, yel1, yel2, " ! @ # $ % ^ & * ( ) _ + - = 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z { } [noparse][[/noparse] ] | \ ; : ' < > ? , . /", 0]


Can you tell me how to do this with SX/B ? Need for RFID, uOLED and sx28 project, or do you have some source sample uOLED 128+SX for learning.
Thanks!

Comments

  • BeanBean Posts: 8,129
    edited 2008-05-31 01:23
    Andrea,
    · SX/B can only send 1 character at a time.
    · It's best to put the SEROUT command in a subroutine and call the subroutine for each character.
    · Better yet, make a subroutine to send a string.

    · I know Jon Williams has posted many version of both of these.

    · Try a search from http://search.parallax.com

    Bean.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Did you know that 111,111,111 multiplied by 111,111,111 equals 12345678987654321 ?

    www.iElectronicDesigns.com

    ·
  • AndreaAndrea Posts: 17
    edited 2008-05-31 09:36
    Bean,
    Thank you. I already do that exactly like you said. Put command in to subroutine. Now, I must take some free time to try it with uOLED display to see does it works.
Sign In or Register to comment.