Shop OBEX P1 Docs P2 Docs Learn Events
Scribbler Source - help — Parallax Forums

Scribbler Source - help

computer guycomputer guy Posts: 1,113
edited 2007-05-13 21:03 in General Discussion
I am using the scribbler source code and am trying to run it.
However i get this error when trying to run it.
Failed to AUTOLOAD 'Tk::Toplevel::setIcon' at Scribbler.pm line 216

Any ideas.

Thank you smile.gif

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-05-12 16:03
    C Guy,

    Some of the modules used by the Scribbler GUI are externally-available binaries that have to be installed properly in Perl to function. Assuming you're using ActiveState Perl and are connected to the internet, type the following in a DOS console:

    ····ppm install http://www.bribes.org/perl/ppm/Tk-Icon.ppd

    That should install the proper module for you. Let me know it it doesn't.

    -Phil
  • computer guycomputer guy Posts: 1,113
    edited 2007-05-12 23:06
    Thanks Phil that worked.

    Does anyone know how to pass the propeller program a command.
    More specificly.

    /NoDebug
    /NoPrompt
    /Download

    Like "Propeller.exe /NoDebug /Download file.spin"

    For the basic stamp you can use.
    "stampw.exe /NoDebug /Download file.BS2"
    but i don't know what to do for the propeller.

    Thank you smile.gif

    Post Edited (computer guy) : 5/12/2007 11:23:46 PM GMT
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2007-05-13 21:03
    I think the easiest way for you to program your robot would be to have a set of pre-defined routines that you can run by passing a parameter to the Propeller.

    For example, if you want your robot to go forward, you could send an 'f' over a serial connection, which the Propeller will use to call a routine that causes the robot to go forward.

    If you create a set of routines for common tasks (ie fwd, reverse, left, right, etc.), it would make building a gui application much easier than trying to generate actual Spin code from the bitmap symbols. Each symbol would simply need to map to the relevent command switch (f = fwd, r = rev, etc.), and you would just need to work out the details of the timings between commands.

    Here is another post I made awhile ago with a better description of the concept:

    http://forums.parallax.com/showthread.php?p=630273
Sign In or Register to comment.