This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Tuesday, October 16, 2007

[oopic] Re: Object creation with initial values.

--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...> wrote:
> I tried this with oServo and it too didn't work. It appears that the
> IOline isn't in the correct place - You can get the servo to at least
> run if you put the IOline as the first position - But then others don't
> get correct values - So it seems like the initializer is not correct
> with oServo and oServoX, which is the one that I tried. I'll try to
get
> a better, or more informed answer soon.

Hi,
Thank you for the effort. I also tried to declare an array of oServo
objects and got a funny result. I have no idea how, but the objects in
the array were "shifted" by one. That is oServo object declared as
first in the array was actually causing the second servo to move etc.
I checked the IO lines and they were correct. When referring to oServo
directly (no array), the proper one moved.


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: