BS2 code for INA 219 DC Current Sensor - Product 29130
John Kauffman
Posts: 653
There is code on Prop OBEX, but what about BS2?
Comments
Looks possible for any BS2 to do I2C: http://forums.parallax.com/showthread.php/82908-I2C-On-A-BASIC-Stamp.
It would be great to have a P'Lax solution. I know Plax is full press on Prop, but it will be great when the new products hit the shop with BS2 code or a clear note on product page that the product is not suitable for BS2. I've got a couple dozen BS2s and a hundred students that learned on & have BS2. I won't have transition to Prop done for a few years.
Not a big deal, I don't need it this week and someone with BS2 / I2C expertise will throw the code together in an hour.
As John mentions in that thread you referenced, StampWorks Experiment #20 also has I2C code. He also mentions Nuts and Volts #115 and #81.
http://classic.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv85.pdf
http://classic.parallax.com/Portals/0/Downloads/docs/cols/nv/vol5/col/nv115.pdf
http://classic.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv81.pdf
Here is the link for all of the Nuts and Volts articles:
http://classic.parallax.com/Resources/NutsVoltsColumns/tabid/272/Default.aspx
True enough, but there's a lot of code overhead, kind of headachey.
The 2P, 2PE, 2PX have the I2CIN and I2COUT commands, streamlining things tremendously.