Shop OBEX P1 Docs P2 Docs Learn Events
How to run a program with the Spin2 Interpreter — Parallax Forums

How to run a program with the Spin2 Interpreter

If I compile the Spin2 Interpreter and load it into ram, how do I get it to run a Spin2 program?

John Abshier

Comments

  • cgraceycgracey Posts: 14,155
    You would need to make a little bytecode program to append to the end of it. If you just run PNut and write some Spin2 code, it's a lot easier.
  • Cluso99Cluso99 Posts: 18,069
    I thought I had to load the spin2 interpreter and went looking for how to do it.

    Then I looked at Chips' VGA example and the interpreter was nowhere to be found in it.

    So I ran the VGA code and it just worked. pnut handles the spin2 interpreter automatically - you don't need to worry about the spin2 interpreter :smiley:
Sign In or Register to comment.