Comment #2 on issue 46 by sebastien.lelong: GP2D02 library http://code.google.com/p/jallib/issues/detail?id=46
In order to handle multiple GP2D02 instances, pins must be passed as a function's parameters. It seems there's a bug (http://tech.groups.yahoo.com/group/jallist/message/26682) about this. Need further investigation. Solutions: - maybe a workaround is possible (?) - hard-code a given number of ranger pins, says 6, and "if defined()" so user don't have to declare the 2*6 pins. Then use these within the function in charge of querying the ranger. API would change in the future, when bug is fixed. - leave it multiple instances, and provide a single GP2D02 library (can handle only one) Seb -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
