Shop OBEX P1 Docs P2 Docs Learn Events
Example code please — Parallax Forums

Example code please

azmax100azmax100 Posts: 173
edited 2009-07-17 03:29 in Propeller 1
Sorry for not elaborate more on what I am doing.

Actually what I am doing now is to use propeller to send the serout command. I have successfully done it with BS2 but I need propeller as it have more RAM.

If I were to use BS2 function with prop how could I do that. I have a prop demo board but not quite understand using spin.


Edited:

Sorry for my multiple post as I accidentlly click the new post button.

Post Edited (azmax100) : 7/17/2009 3:17:56 AM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-17 03:29
    Have you looked at the BS2 Functions object in the Object Exchange (obex.parallax.com/objects/30/)? There are examples of how to do a lot of the BS2 special statements using this object, particularly I/O. There is no direct equivalent to the SEROUT statement. You have to break it up and output items one at a time. The test program in that object's archive has some examples of how it's done.

    There are some introductory tutorials in a "sticky" thread at the top of the thread list in this forum ("Getting Started and Key Thread Index"). Have a look at those and at the tutorials in the Propeller Education Kit documentation. The Propeller Manual also has a lot of examples.

    We can't teach you how to program in Spin. You'll have to learn that yourself using what's available. If you have specific questions, please do ask.

    Here's a good discussion of how to ask questions in a support forum like this: support.microsoft.com/kb/555375
Sign In or Register to comment.