--_002_alpineLNX20011010810401302367wjgknetfpbz_ Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Sat, 8 Jan 2011, Robert Csaba Molnar wrote: > I start having problems when trying to read the iButton several times > in a short period of time (connect/disconnect the iButton). The CN > does not trigger the interrupt in this case. > > I suspect that the iButton is not completely discharged so when the > iButton is connected ,the change is to small for the PIC to notice it. > > Has anyone experienced this problem?=A0 Yes, it's a known issue with the iButton. > As a last resort I can use a timer and try to read the button > regardless if it's there or not, but I do not want to waste cpu cycles > on this if there is another way to do it. That's the usual solution. -- John W. Temples, III= --_002_alpineLNX20011010810401302367wjgknetfpbz_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=208; creation-date="Sat, 08 Jan 2011 10:49:33 GMT"; modification-date="Sat, 08 Jan 2011 10:49:33 GMT" Content-Transfer-Encoding: base64 LS0gDQpodHRwOi8vd3d3LnBpY2xpc3QuY29tIFBJQy9TWCBGQVEgJiBsaXN0IGFyY2hpdmUNClZp ZXcvY2hhbmdlIHlvdXIgbWVtYmVyc2hpcCBvcHRpb25zIGF0DQpodHRwOi8vbWFpbG1hbi5taXQu ZWR1L21haWxtYW4vbGlzdGluZm8vcGljbGlzdA0K --_002_alpineLNX20011010810401302367wjgknetfpbz_-- .