Me too, I prefer counting from 0. Everything I count from 1, I get confused... Probably too much silicium in my brain...
Seb 2008/9/1 Rob Hamerling <[EMAIL PROTECTED]> > > > > Eur van Andel wrote: > > > Meta-question: while we agree on counting from 0 inside the PIC, > > should we count from 1 outside it? > > Also if the datasheet of the external IC starts counting from 0? > > For instance should a 4x20 LCD have line_1 .. line_4 or line_0 ..line3? > > For consistency with JalV2 I prefer 0-based indexing: array indexing is > 0-based in JalV2. > > Regards, Rob. > > -- > Rob Hamerling, Vianen, NL (http://www.robh.nl/) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
