Shop OBEX P1 Docs P2 Docs Learn Events
Object Management — Parallax Forums

Object Management

mojorizingmojorizing Posts: 249
edited 2009-01-18 14:17 in Propeller 1
I just got my prop protoboard , so I'm in the middle of figuring things out.

This is Example 13 by Dave Scanlan back in 2006·(scroll down a few posts on this link), but it won't compile because it expects a subroutine name.· The debug_lcd object doesn't have a Start method, and also·down a few lines in Ex. 13 there's no NewLine method either.· The "debug_lcd" object was obtained earlier in his examples.

1)·Evidently I'm not using the correct debug_lcd.spin . It's located in the same folder as Example 13, so I changed the name to debug_lcd_old.spin. I've spent sometime looking for the correct spin here on the forums and the exchange, but to no avail, so if someone can point me to the correct debug_lcd, that would be great.
2) My second question really baffles me.· I compile Example 13 again and it comes up with the same error, even though there's no object named debug_lcd in the folder·since it was renamed.· What gives with that?· I have debug_lcd else where on my harddrive in other folders.·Does the compiler seek out a file named debug_lcd.spin throughout my harddrive?· I think my problem is with my spin "library" and the way I'm not managing it versus a coding problem.

Thanks, Kevin



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Bad spellers of the world untie!

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-01-18 06:51
    mojorizing,

    See if this helps.· There have been a few changes it looks like... mostly where you had "start" before has been changed to "init".· If you unzip the attached file into it's own folder and run "Example 13" from there it should contain the correct files and work within that encapsulated folder.

    As far as the directory structure... If a called spin file can not be located in the source directory containing the "top" spin file,·or within a TAB that you have opened from the IDE, it will search the Library directory, which is located in the directory that you installed the Propeller IDE.· For example, on my computer the "Library" directory is located here.... C:\Program Files\Parallax Inc\Propeller Tool v1.2\Examples\Library

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • mojorizingmojorizing Posts: 249
    edited 2009-01-18 14:17
    This helps yeah.gif .

    Thanks, Beau

    Kevin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Bad spellers of the world untie!
Sign In or Register to comment.