Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: neue IDE Kategorie: IDE (von PeterS - 22.09.2013 20:22)
Als Antwort auf Re: neue IDE von PepeV - 22.09.2013 10:40

> > > > Hi Peter,
> > > >
> > > > I noticed you swapped the values of the port definitions PORT_ON and PORT_OFF
> > > > in IntFunc_Lib.cc. That can have huge consequences for existing programs. I did not
> > > > see any warnings for this change; did I overlook something?
> > >
> > > I checked it, I made the correction internally mid 2011. The old definition was
> > > definitely wrong. But you maybe right, perhaps some people used PORT_ON, PORT_OFF
> > > the wrong way, and now programs may fail. I will add a warning.
> >
> > I have put a new build 2.31.0.89 with some added warnings online.
> >
> > >
> > > Regards,
> > >
> > > Peter
> > >
> > > >
> > > > Regards,
> > > > Pepe
> > >
>
> Hi Peter,
>
> It is good that you added the warnings. I hope it is enough because the new
> definitions of PORT_ON and PORT_OFF will be an issue for all Pro-Bot 128 users.
> The library PRO-BOT128_Lib.cbas makes extensive use of PORT_ON and
> PORT_OFF.
> The old definitions PORT_ON 0 and PORT_OFF 1 where not illogical for
> Pro-Bot 128 users because the circuit design is such that a value of 1 at a port
> causes a led to switch off and vice versa. I think Pro-Bot 128 users are often
> beginners so many will not understand what is happening when the run their
> programs from the new IDE. I would therefore like to issue this
>
> WARNING FOR ALL PRO-BOT 128 USERS: to work with this new
> IDE 2.31, the library PRO-BOT128_Lib.cbas should be adapted. All occurences of
> PORT_ON should be replaced by PORT_OFF and all occurences of PORT_OFF
> should be replaced PORT_ON.
>
> Regards,
> Pepe

Hello Pepe,

I will talk to the author of the ProBot Library on Monday. There will
be an update soon.

Best Regards,

Peter


    Antwort schreiben


Antworten:

Re: neue IDE (von ThomasJ - 25.09.2013 9:18)
    Re: neue IDE (von PeterS - 26.09.2013 14:34)
        Re: neue IDE (von ThomasJ - 27.09.2013 15:36)
            Re: neue IDE (von PeterS - 28.09.2013 8:07)
            Re: neue IDE (von Sepp - 27.09.2013 18:57)
                Re: neue IDE (von PeterS - 28.09.2013 8:11)
                    Re: neue IDE (von Sepp - 29.09.2013 11:42)