[Newbies] Re: LedMorph - step problem
bert at freudenbergs.de
Mon Mar 8 12:45:30 UTC 2010
On 08.03.2010, at 13:42, FrankBz wrote:
> Hi Jerome, thanks for answering.. I modified the program as you suggested and
> now it seems to work fine.
> Basically it starts or stops stepping when sending those messages to the
> LedFrame in the workspace.
> What is still not working is the button that should invoke stopStepping. May
> it depend on the fact that actionSelector message cannot find the
> #stopStepping I defined? The reason why I'm supposing that is that the other
> button which selects #delete works fine.
> Have you any suggestion about that?
> Just to be precise I defined wantsSteps, startStepping and stopStepping in
> the OriginalLed class, then I added two methods in the main frame
> startStepping and stopStepping in order to invoke the methods on the
> instance variable of led of LedFrame.
> Thanks in advance
That seems wrong - you should not define startStepping and stopStepping because those methods already exist.
- Bert -
More information about the Beginners