iButton anyone?

Tim Noeding tim.noeding at gmail.com
Fri Apr 17 10:57:39 MST 2009


Thanks for the response Daniel, but sadly it is exactly 30k. The machine has
a readout on the display which gives a warning at 25k and stops functioning
at 30k. I'll post again when the 1-Wire usb and the scanner come in.

Thanks again for the responses!

Tim

On Tue, Apr 14, 2009 at 10:05 PM, Daniel Stasinski <mooooooo at avenues.org>wrote:

> > for logging usage. After 30k uses, it prevents the machine
> > from working anymore. My boss tasked me with finding
> > out how to get around
>
> I could be flat wrong but 30k is close to 32k, which is one of those
> magical numbers.  It could be incrementing a counter that is evaluated
> as a 16 bit signed integer (which overflows at 32767 + 1).   Depending
> on the rest of the code, it could be as simple as changing it to a
> long integer.
>
> Daniel
>
> | ---------------------------------------------------------------
> | Daniel P. Stasinski          | http://www.saidsimple.com
> | mooooooo at avenues.org         | http://www.disabilities-r-us.com
> | XMMP: mooooooo at avenues.org   | http://www.avenues.org
> | Google Talk: mooooooo        | http://www.scriptkitties.com
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20090417/bd72f2b2/attachment.htm 


More information about the PLUG-discuss mailing list