Ok, I fixed it as you can see from my commit, but there's something that worries me:
Andy on jallist said: "it works ok. This is not what the data sheet says!" Joep, you said "A second start (not preceded by a stop) must be changed to restart". Why can't the library handle this? If no stop condition was used, a 2nd start should automatically be a restart. This issue would not have came about if the I2C lib handles this. We could have this issue again in the future on other devices. Is there officially a "restart" condition in I2C? I'm no I2C expert, it's just a thought. Matt. On Dec 30, 12:23 pm, mattschinkel <[email protected]> wrote: > Sure, I'll have a look when I get a chance. > > Matt. > > On Dec 24, 5:08 am, [email protected] wrote: > > > Status: New > > Owner: ---- > > Labels: Type-Defect Priority-Medium > > > New issue 147 by jsuijs: bug in > > eeprom_24lc256.jalhttp://code.google.com/p/jallib/issues/detail?id=147 > > > A second start (not preceded by a stop) must be changed to restart. > > > Reported athttp://tech.groups.yahoo.com/group/jallist/message/29968 > > > Matt, can you change and test this for this library and check other > > libraries if they have the same error? > > > Thanks, > > Joep > > -- 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.
