SimpleIDE and TACHYON Forth
Rsadeika
Posts: 3,837
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
Ray
Comments
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.
Ray
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.
Ray
Did you load extend.fth as this is where PINCLR and. PINSET are defined?