View Full Version : Object Management

01-18-2009, 11:57 AM
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 (http://forums.parallax.com/showthread.php?p=574524)·(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!

Beau Schwabe
01-18-2009, 01:51 PM

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 (mailto:bschwabe@parallax.com)

IC Layout Engineer
Parallax, Inc.

01-18-2009, 09:17 PM
This helps http://forums.parallax.com/images/smilies/yeah.gif .

Thanks, Beau


Bad spellers of the world untie!