Shop OBEX P1 Docs P2 Docs Learn Events
Display Sth on computer screen using propeller demo board — Parallax Forums

Display Sth on computer screen using propeller demo board

NikosGNikosG Posts: 705
edited 2010-12-30 21:45 in Propeller 1
Hello everybody,
Since I've started with Propeller I have a basic question:
How can I display on my computer screen various results from my spin code e.g. the values of variables, text messages etc. (I know that I can use a 2X16 LCD display or a TV monitor) but I would like to use my computer screen.
In other words does exist a command like the "DEBUG" command of PBasic that I can use?
I use the propeller demo board and I know that it has a VGA port that I could use as an output, but I dont't have a second computer monitor.
In conclusion, If I need to see the various results on the same computer screen where I run the Propeller Tool, Is it posible?
Is any other additional software necessary?

Comments

  • Heater.Heater. Posts: 21,230
    edited 2010-12-30 10:30
    Just use BST instead of the Propeller Tool. It has an excellent serial terminal window that works over the programming pins. Just use FullDuplexSerial to send out your debug messages or whatever program output.

    Actually I thought the Propeller Tool also has such a terminal, not sure I have not used it for years.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-12-30 10:42
    Along with the install of the Propeller Tool, you also have a program called PST.

    This tutorial should help you get it working

    http://www.gadgetgangster.com/tutorials/343


    OBC
  • HShankoHShanko Posts: 402
    edited 2010-12-30 12:29
    OBC,

    Thanks for the notice. I've probably seen PST mentioned before thinking it was just a typo on BST. I'll have to try it.

    I've been using a TV/DVD player display which requires a bit of formatting to post variables and associated names. It is a bit more flexible as most all the 40 positions x 13 rows can be used; cost is a lot of lines to do that. Thanks again.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-12-30 12:37
    @Harley

    I've done the whole mini DVD as a debug screen as well. I've found it ALOT easier to take advantage of PST instead. I'll do an introduction to PropTerminal soon as well.

    OBC
  • NikosGNikosG Posts: 705
    edited 2010-12-30 13:16
    Thank you guys!!!
    I used the method with Parallax serial terminal and it works!
    I had already this tool on my PC but I hadn't realized its utility.
    Propeller and spin language is really amazing!
    The more I study propeller the more I like it!
    Thank you for your help!
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-12-30 21:45
    NikosG, here's another approach that I use on the UltraSpark 40 Supermicrocontroller Machine.
    Take a look at post number 53 (on page 3). You can use your computer screen as a TV and directly show the output.
Sign In or Register to comment.