Shop OBEX P1 Docs P2 Docs Learn Events
Serial Terminal? — Parallax Forums

Serial Terminal?

adriadri Posts: 34
edited 2009-06-24 14:34 in Propeller 1
Hi

If my code calls

pst.Start(9600)

will that automatically be started in a seperate cog or would I have to use 'cognew' to have the serial terminal in a seperate cog?

still getting my head round all this so apologies if it's a numpty question...

cheers

Adri

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-06-24 14:34
    You can look at the source code for the .start method. If you do, you'd see that it starts up a cog with the assembly language portion of the serial terminal. This is the part that does the actual receiving and transmitting via buffers supplied as part of the object.
Sign In or Register to comment.