Using the S2 GUI to Learn Spin - Lesson 1
Okay S2ers,
This is my stab at a little S2 educational material to suppliment Jessica's great video series.
Using the S2 GUI to Learn Spin is designed to help new users move from the GUI to Spin by using the GUI as a learning tool. It uses simple programs written in the GUI as a starting point to study the Spin code generated by the GUI - along with all the help resources in the GUI and Propeller Tool.
Take a look at Lesson 1 (current version is 3.1) and let me know what you think. Please let me know about any typos you find. I've read it so many times that I can't see them any more. Other suggestions are also welcome. It is my intention to post these here as they are written.
Thanks to Jessica for reading an early draft and making some great suggestions. Her improvements were added to this text. Of course, any errors or faults with the text are mine.
Enjoy!
Update: Most Current Version 3.1 is now added below in pdf and docx format.
This is my stab at a little S2 educational material to suppliment Jessica's great video series.
Using the S2 GUI to Learn Spin is designed to help new users move from the GUI to Spin by using the GUI as a learning tool. It uses simple programs written in the GUI as a starting point to study the Spin code generated by the GUI - along with all the help resources in the GUI and Propeller Tool.
Take a look at Lesson 1 (current version is 3.1) and let me know what you think. Please let me know about any typos you find. I've read it so many times that I can't see them any more. Other suggestions are also welcome. It is my intention to post these here as they are written.
Thanks to Jessica for reading an early draft and making some great suggestions. Her improvements were added to this text. Of course, any errors or faults with the text are mine.
Enjoy!
Update: Most Current Version 3.1 is now added below in pdf and docx format.
Comments
The attached pdf looks good when viewing, but when I print it - a couple of the screen clips are messed up. I am using a free pdf maker, so that could be the issue. Attached is the docx file for your review and to print from if you have problems.
Update - See top of thread for latest pdf and docx
Cheers,
Jessica
I've tested the text and everything on the computer side worked as written. Will test on the S2 tomorrow. Looks like version 3.1 caught the errors I saw.
Thanks for posting and I'm waiting for chapter 2
Tony
1. Is there a way to set the three leds to red in the GUI? If not, was there a reason for not programing that into the GUI interface?
2. When I try to view the S2.object in condensed view my screen goes blank, but all other views work. Anyone have this problem?
Again, thanks for the work Whit. I still have a lot to learn about using the GUI. I think it's a problem of an old dog learning a new trick.
Tony
As far as question 1, the issue was backward compatabliity of the GUI. Since a program written for the GUI with red LEDs would not work on the Scribbler, it is not allowed. Load any of your Scribbler GUI programs on the S2 and they will work and vice versa - though some adjustment may be necessary.
On question 2 - I think that has to do with what Condensed mode shows - mine works the same way. Try a program that like the basic LED lighting program - that has the S2 object. It will show up in condensed mode. I will try to find out more or maybe Phil will chime in...
As far as old dogs... You aren't any older than this old dog...
I knew there was a reason for the LED question. I forgot that it was written for backward compatibility. Of course with your first lesson you show how you could put in the LED block and then change the code to red or blinking. Your really onto a great idea with you book! I think the combination of learning the GUI along with Spin will make for some really neat S2 projects.
The view question was puzzling to me. The basic LED lighting program works fine as well.
Staying on the porch today,
Tony