Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE and TACHYON Forth — Parallax Forums

SimpleIDE and TACHYON Forth

RsadeikaRsadeika Posts: 3,837
edited 2013-11-29 13:58 in Propeller 1
Since I did a little blinky program using Spin, I decided to give TACHYON Forth a chance on SimpleIDE which now uses OpenSpin. The only little glitch that I ran into is when I tried the TACHYON blinky example, it did not recognize (???) 'PINCLR' and 'PINSET' words or is it commands? I am not sure if this has something to do with OpenSpin or TACHYON itself. I downloaded the TACHYON 2.3 version, so I am not sure if anybody should be concerned with this. I used my PropBOE board, P26 LED for this test.

Ray

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-11-29 08:38
    First things first...
    Can you get a Forth prompt?
    Can you do

    2 2 + .<enter>
    and get 4
    ?

    If you have that working for you, the Tachyon is loaded and seems to work.

    Try

    words <enter>

    to get a complete list of available lexicon and see if the dictionary has the words you cannot seem to make work.

    You may have to set the i/o pins direction to output to the clear and set to actually work. If you can add integers and you can get a listing via 'words', Tachyon is up and running. You just may be missing the word definitions you need or making a typo of some sort.

    Are you designating the right pin. Pin numbers may start with 0, not 1.

    Peter J. really can help you more. I have been using pfth and PropForth, so I am not familiar with Tachyon's current state.
  • RsadeikaRsadeika Posts: 3,837
    edited 2013-11-29 08:46
    As I said this was just a quick test. Yes, the program is running, I did the the first example, the STAR(S), and that worked as expected. The blinky was where it ran into a problem. Since he uses that as example, I am assuming that I do not have to load in any support programs for it.?

    Ray
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-11-29 08:50
    Not sure what the problem is. He uses QWORDS to dump a list.

    You know about this tutorial

    https://docs.google.com/document/pub?id=1bEH0DfGmu99M1SqCbmlzl991Ssv2J5m6XWmkJX0XSl8

    but it is all I have to go on. Just send a message to Peter J. or post to the main Tachyon thread for a quick reply.

    The tutorial may have become outdated.

    You did use OUTSET to first set the direction to output, didn't you. I think the problem is entirely within Tachyon at this point -- either something you don't understand, or something changed from the tutorial.
  • RsadeikaRsadeika Posts: 3,837
    edited 2013-11-29 10:04
    Yes, I followed the instructions word for word, and I also typed in 'PINCLR' all by itself and got ???. I am not trying to make a big deal out of this, all that I am saying is, I typed in one example and had a glitch.

    Ray
  • TrapperBobTrapperBob Posts: 142
    edited 2013-11-29 13:58
    Ray,

    Did you load extend.fth as this is where PINCLR and. PINSET are defined?
Sign In or Register to comment.