Shop OBEX P1 Docs P2 Docs Learn Events
BS2 to Spin Transition — Parallax Forums

BS2 to Spin Transition

Eagle1Eagle1 Posts: 28
edited 2011-01-11 17:24 in Propeller 1
This message comes after quite a bit of effort to learn the spin language and methods of putting together a program. I have gone thru most of the PE Kit Labs: Fundamentals and find myself at a loss as to how to construct a program, specifically a call. Maybe my age is showing ! I'm 66 and have had no problem with the BS2. I got The Propeller With Spin Pogramming book which went well to Chapter 10 and then went south. I guess what I'm asking is there some book tutorial or other learning aid available that I can use which uses old school teaching methods rather than 36 ways to blink a LED. I follow the forum enough to know that I'll get quite a bit of flak from the forum heavies but my next step is e-bay. I of course would rather learn spin so I can put together a useful program. I'm asking for a method of constructing a program.similar to that used in BS2 or a cogent step by step method in Spin!
Thank-You-In Advance for your help.

Comments

  • JomsJoms Posts: 279
    edited 2011-01-11 15:05
    Don't worry, much younger, but used to be in the same boat. Start with simple codes and take them apart a bit one by one.

    I am not sure if this will help, but have a look at the BS2 to SPIN function object in the object exchange. I put a link to it at the bottom of this post. I am not sure, but try this for awhile and then pick it apart bit by bit to see how you would do a fuction in SPIN the same way you do it in basic.

    http://obex.parallax.com/objects/30/
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2011-01-11 15:58
    I can't help you with the tutorial, since I don't know of one. However, I would like to comment on the Spin tutorials that are out there, including those from Parallax.

    The thing that I've noticed is that many tutorials almost immediately jump into using "idomatic Spin", which is to say they use all of the built in shortcuts to do something instead of adopting a friendlier approach to program syntax.

    This may be why you're experiencing some frustration & difficulty. Hopefully, tutorial authors will give this more consideration in the future.
  • Eagle1Eagle1 Posts: 28
    edited 2011-01-11 16:01
    Joms wrote: »
    Don't worry, much younger, but used to be in the same boat. Start with simple codes and take them apart a bit one by one.

    I am not sure if this will help, but have a look at the BS2 to SPIN function object in the object exchange. I put a link to it at the bottom of this post. I am not sure, but try this for awhile and then pick it apart bit by bit to see how you would do a fuction in SPIN the same way you do it in basic.

    http://obex.parallax.com/objects/30/
  • Eagle1Eagle1 Posts: 28
    edited 2011-01-11 16:09
    Kevin, You took my feelings and stated them much better than I. Thanks for taking the time to reinforce my perceptions.
  • Eagle1Eagle1 Posts: 28
    edited 2011-01-11 16:14
    Thankx alot for your reply, I will investigate use of your attachment
  • Eagle1Eagle1 Posts: 28
    edited 2011-01-11 16:20
    Thanx Joms, I need all the help I can get!
  • RonPRonP Posts: 384
    edited 2011-01-11 17:24
    I have found that repetition works for me. If I don't understand something the first time, which is usually the case. Doing different things just playing around basically a light will go off not all the time but often enough to keep my hopes up. I've found that some of the Gadget Gangster Tutorials have turned on a few lights. I know the Blinking LED is repetitive but sometimes someone says something just a little different. That helps my understanding.

    Ron
Sign In or Register to comment.