Shop OBEX P1 Docs P2 Docs Learn Events
how to send and number of 90 to Parallax terminal by using the Propstick USB — Parallax Forums

how to send and number of 90 to Parallax terminal by using the Propstick USB

huynh153huynh153 Posts: 3
edited 2009-10-14 19:14 in Propeller 1
Dear all forum members,

I would like to connect the Propstick to Parallax Terminal program and send some data from the Propstick

I do not know where should I start. I begin by modified the code provided, I modified the Program namely "Parallax Serial Terminal" by adding the main PUB as follows:

' CODE


byte rx_buffer[noparse][[/noparse]BUFFER_LENGTH] 'Receive and transmit buffers
byte tx_buffer[noparse][[/noparse]BUFFER_LENGTH]

byte str_buffer[noparse][[/noparse]MAXSTR_LENGTH+1] 'String buffer for numerical strings


PUB main

Start(19200)

repeat
Char(90)


PUB Start(baudrate) : okay

.....
I only add the code of: PUB main consists of Start(19200), repeat Char(90) into the code. The rest of the " Parallax Serial Terminal " are not be changed.


But I could not receive any data in Parallax Terminal. It is my honor to have the suggestion in this issue. I just started to use the Propstick, everything is so new to me.

Many thanks,

Huynh,

Comments

  • StefanL38StefanL38 Posts: 2,292
    edited 2009-10-14 19:14
    Hello Huynh,

    from what you have posted above I don't understand what you have changed.

    Please provide ALL your code by using the file-archive - project.... function of the propellertool
    which will create a zip-archive with ALL code that is used

    And then use the Post Reply-button and the attachement-manager to upload this zip-archive as an attachement to a posting

    best regards

    Stefan

    Post Edited (StefanL38) : 10/14/2009 7:42:11 PM GMT
Sign In or Register to comment.