PDA

View Full Version : Spin Code Reference



Calaway21
03-30-2009, 06: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,
Calaway21

Mike Green
03-30-2009, 06: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.

Calaway21
03-30-2009, 06: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.

Klap
03-30-2009, 02: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.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Microcontrolled
03-30-2009, 11: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.

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

Andy

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

http://www.rayslogic.com/propeller/Propeller%20Manual%20v1.01bmarked.pdf

Bookmarked PDFs have a nice index on the left sidebar.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


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)