Shop OBEX P1 Docs P2 Docs Learn Events
Serial Demo Program — Parallax Forums

Serial Demo Program

10gigbill10gigbill Posts: 79
edited 2010-02-09 21:42 in Propeller 1
I am trying the serial demo program on the prop demo board.
The demo is setup to run on pins 30 and 31 and sez to use the programming connection.
I am plugged in to the demo board with USB. Can I run the parallax serial terminal out the USB port?
I am old and I think of serial as RS232, which is what I want to use in my project, and I don’t know what Com port USB is on.
And it then sez to run the terminal program before the prop program is finished downloading. And that I can’t do out the same port
at the same time?
By the way I started with FORTRAN 50 years ago and this modern Object-Based, Object-Method-Reference, is driving me nuts.
But I can see that when I do get it figured out it will be really cool.
thanks

Hummmm?

Comments

  • 10gigbill10gigbill Posts: 79
    edited 2010-02-09 01:40
    Never mind. I got it. The Propeller Manual is not a great teaching aid to the newbee...
    maybe that new book will be.


    Bill
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-02-09 01:51
    Welcome 10gigbill.

    Glad you sorted your problem. Don't hesitate to ask any questions as there are plenty of great people on this forum willing to help.

    Don't worry much about the Objects. They are not true objects in the modern sense, but rather self-contained subroutines with their variables.

    Ah Fortran IV and the whatfour??? compiler smile.gif Not that I did much programming in Fortran.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • hover1hover1 Posts: 1,929
    edited 2010-02-09 02:43
    Welcome Bill,

    There are some great minds here to help, well maybe not mine,sometimes. [noparse]:)[/noparse]

    And they never sleep!

    Ahhh... FORTRAN..COBOL..RPG
    Now I will dream of punched cards.

    Jim
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-02-09 05:42
    re "and I think of serial as RS232"

    But it is! Darn this new fangled USB nonsense.

    The simple answer is you plug in a usb to serial thingy (I just bought 10 for a silly price of about $25) or the equivalent of that on a chip and the computer adds it as another serial port. So I have real serial ports 1 and 2 and when I plug in this adaptor thing it works as com3. The prop programs and talks on any of those.

    Anyway, if you can program a propeller then you ought to be able to use the same lines to talk to the program you just downloaded. There are many solutions - inbuilt terminal programs in the proptool, the alternate prop tool called BST, and teraterm, hyperterminal etc, and even a new fangled CP/M terminal program I just wrote. It is just that two programs on a PC can't use the same serial port at the same time, so you need to wait for downloading to complete before firing up a terminal program. Sometimes if you are too quick it really upsets windows and a ctrl/alt/del will reveal the serial bit of a program is still running even if you have shut it down.

    Hang in there. I went through this frustrating phase only about 6 months ago.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
  • 10gigbill10gigbill Posts: 79
    edited 2010-02-09 21:42
    Many thanks to all of you for your support. It has been my observation in life, that the person who designed and built the programming language is not the one that should write the beginners book on how to… Too many assumptions are made on their part as to that which is “Intuitively obvious to the casual observer”…
    You guys that have been in the trenches and figured it out the hard way are the best teachers.

    Thanks again.

    Bill
Sign In or Register to comment.