It is time for me to learn some spin code >>>>>>>>>>>>>>
sam_sam_sam
Posts: 2,286
·I have just been layoff from my job and now have·lots of time to learn something new
I was lay off from another job 20 months ago and when that happen >>>>>
·I send allot of time learning P-basic coding for the Basic Stamp and it helped in this last job the one·just got layoff from
I want to start at the being Step # 1 >>>> ·I have not·done any Spin· coding before
Where do I begin·I am looking for some one to guide me a·long the·way and point in the right direction
any taker
I want to thank·any one willing to do this for me
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 4/18/2010 12:02:57 AM GMT
I was lay off from another job 20 months ago and when that happen >>>>>
·I send allot of time learning P-basic coding for the Basic Stamp and it helped in this last job the one·just got layoff from
I want to start at the being Step # 1 >>>> ·I have not·done any Spin· coding before
Where do I begin·I am looking for some one to guide me a·long the·way and point in the right direction
any taker
I want to thank·any one willing to do this for me
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 4/18/2010 12:02:57 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Thanks for the info
·I just down load the pdf and printed the other day and this was one of the thing I was going to work on
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 4/18/2010 12:03:48 AM GMT
Programming and Customizing the Multicore Propeller Microcontroller: The Official Guide
Bill190
Yes I do have a Propeller chip
Mike G
I will read that on line
w8an
I have the software already on my computer and have ran the first example just to make sure the prop sticks worked
StefanL38
I was think about get that book as well
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
PUB LedOnOff
··· dira[noparse][[/noparse]0] := 1
···
··· repeat
······· outa[noparse][[/noparse]0] := 1
······· waitcnt(900_000 + cnt)
······· outa[noparse][[/noparse]0] := 0
······· waitcnt(900_000 + cnt)
The above·just·flashes pin·0 high/low, then repeats.
Just look up each command in the editor search like PUB, dira, outa, etc.
Then try switching this from pin·0 to say pin 4. And be sure to follow the directions to use the appropriate resistor in series with the LED.
I will try this latter today or Monday for sure thank for your reply
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·Now wanting to learn Spin· Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
·With the Propeller Professional Development Board that·came in the mail today
The hardest ·part to get use to is the fact that you have indent your code I am not use to this
I·am get some where with labs though· the first lab almost made me put it down because of so many error that·I was having writing the code
I am not copy and pasting the code which would be easier but I would· not learn as much
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·Now wanting to learn Spin· Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 4/27/2010 2:07:50 AM GMT
http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/PELabsFunCode-v1.1.zip
And other downloads here...
http://www.parallax.com/go/pekit
I also have just started learning spin. I used to work with the BS2 a lot. I once started to teach myself Java, but didn't get very far.
Spin is object oriented, like Java, so I kind of had a clue.
The manual and the official guide are both good. This site is good also for getting questions answered.
I haven't gone through the labs as of yet, but will soon. I'm putting together a project now, and just jumped right in. Lots of fun. And,
a great way to learn. Trial and error is a great teacher.
I purchased the demo board, but just purchased the professional dev board. Should have got it from the start. The demo board has
limited pins available for connections.
Hope this helps some, Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
obex.parallax.com/
You'll find a lot of available code, and some demo code showing how the object works.
You can learn a lot reading other people's code.
Start with something easy.....
Massimo
If you have the Propeller Tool Software v1.2.7 or higher, you have these things built into the Help file:
"Spin Programming Tutorial" - open the Help and look the TOC on the left. This tutorial was written for the Propeller Demo Board. As you use the arrows to navigate through the tutorial, you will see little hat icons above the code listings. Click on them, and the code will open in the Propeller Tool.
PE Kit Labs Fundamentals: The tagged PDF is bundled in the Help, you can open it from the Help drop-down menu in the Propeller Tool editor.
All the example code for the PE Kit Labs: it is in the Library subfolder. Choose File >Open From to see all your resources.
Propeller Manual: The tagged PDF is also bundled with the Help, and can be opened from the drop-down menu.
Have fun!
-Steph
Edited to add: More resources and activities for the PE Kit are all listed in one place now: http://www.parallax.com/go/PEkit
Post Edited (Steph Lindsay (Parallax)) : 4/27/2010 5:07:33 PM GMT