This month I've been running an "Educator Hotline" where we can talk about anything of interest to instructors who use Parallax in their courses. The hotline was really busy yesterday with a half-dozen calls after lunch. One call from a university professor in Illinois was that we produce some BASIC Stamp 2 code for this sensor https://www.parallax.com/product/29130
. We're booked internally, so I'm going to reach out to our customers for this code.
I see that it's got a few complexities: I2C and floating point. We can get by without the floating point, and I think there's some helpful I2C examples from Jon McPhalen here in Nuts and Volts of BASIC Stamps Column 115 https://www.parallax.com/downloads/nuts-and-volts-basic-stamps-volume-5
I'd be happy to provide some of the #29130 current sensors to our community members to help achieve this goal. I'll send out about five of them to those who request. All I ask is that you contribute to this thread and see that we produce a functional, useful code example that I can post on our product page. If you request one, please e-mail me your customer information so I can handle the requests quickly internally.