View Full Version : Spin Code Reference

03-30-2009, 05:13 AM
Hello everyone,

I am looking for a spin code reference sheet.· I would like to find something that list all of the keywords, operators, etc. and a short description of each one.· I am specifically looking for·the spin·equivalent·of the PBASIC command PULSOUT.

Thank you for your help,

Mike Green
03-30-2009, 05:25 AM
There is no single statement equivalent in Spin to the PBasic PULSOUT. Download the BS2 Compatibility Library object from the Propeller Object Exchange. It has a whole collection of routines to replace the functionality of many of the PBasic statements including PULSOUT. You can look at the source code to see how they're implemented.

03-30-2009, 05:41 AM
Hey, why didn't I think of that?· I have, afterall, spent quite a bit of time in the obex looking at all the looking at all of the many objects.· Thank you·for·giving me a hint.

I did find·the attached·spin code reference.· If anyone can find a better one, I'd like to know about it.

03-30-2009, 01:44 PM
I know this is not exactly what you were looking for but here are a list of references that have come in most handy for me (Especially the SimpleHardware spin code). I include these reference files in virtually every spin program I write because is makes programming much easier.


03-30-2009, 10:50 PM
This is the best, biggest, ultimately easiest to use BS2 fuction object.
obex.parallax.com/objects/30/ (http://obex.parallax.com/objects/30/)

Toys are microcontroled.
Robots are microcontroled.
I am microcontrolled.

03-31-2009, 01:20 AM
The Propeller Tool has an included Spin Reference, click on:
HELP -> QuickReference


03-31-2009, 05:56 AM
This is the one I use:


Bookmarked PDFs have a nice index on the left sidebar.


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)