Shop OBEX P1 Docs P2 Docs Learn Events
PBASIC Programming Guide !!!!!Help!!!! — Parallax Forums

PBASIC Programming Guide !!!!!Help!!!!

Tumornators.comTumornators.com Posts: 2
edited 2008-12-16 16:56 in Robotics
Hey guys,
I just got into programming this bad boy today, and its sooo much fun. However, I'd like to step it up and directly program the scribbler with PBASIC (I think thats the code name). But i don't have the programming guide, and I can't find it on this sight. Its probably really easy to find, and Im just an idiot. But is there anything yall can do to help?

AND
How do i create programs using the basic tile editor, and then output that into the actual code editor to see what the underlying code is? If i could do that, then I'd be able to reverse engineer a lot more. Thanks again,
Drew
www.Tumornators.com

Comments

  • dandreaedandreae Posts: 1,375
    edited 2008-12-16 14:53
    Here is a link that has all the information that you will need to program the Scribbler using PBASIC:·

    http://www.parallax.com/tabid/458/Default.aspx



    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support·
  • Tumornators.comTumornators.com Posts: 2
    edited 2008-12-16 16:29
    Which one shalst I download?
    And how do i view it? Is ther a pdf file of the programming guide?
    and can i look at the underlying code of the tiles from the gui?
    Thanks

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am the lumpy one.
    www.Tumornators.com
  • Steph LindsaySteph Lindsay Posts: 767
    edited 2008-12-16 16:56
    Hi Tumornators.com,

    There are two starter programming guides for the Scribbler - one uses the GUI and the other one uses PBASIC.·First Programs and Sample Code uses the GUI, and Writing Programs and Sample Code uses·PBASIC (you can read about that in the description column of the download table).· Yes, the zipped folders contain both sample code and a PDF file.··Why choose, try both!·They are not too long.

    When you are using the GUI, you can always view the PBASIC output that the GUI generates by clicking on the little piece-of-paper icon on the top menu bar.·The ·The PBASIC code for a GUI program will look very long, since all of the variables and constants for the sensors that you *might* use in any program are always included, whether they end up being needed or not.·Beginning programs done directly in PBASIC won't look nearly as complicated. When·looking at·GUI program in PBASIC output, find the code in the Main Routine section, it will give you the best sense of the program flow you created with the GUI.· When you are done looking at the code, just close the BASIc Stamp Editor and the GUI will automatically reopen again.·

    And don't worry, no matter what·you program into your Scribbler, you can always reload the factory code with the little Scribbler-with-halo icon on the toolbar.

    Have fun!



    -Stephanie Lindsay

    Editor, Parallax Inc.
Sign In or Register to comment.