in reply to Re^2: perl to I2C
in thread perl to I2C

Sure, but that is all "under the hood" stuff. If that were what the OP were interested in it's highly likely the OP would already have the chops to provide their own answer. The one terse sentence we got from the OP points more toward controlling an I²C based device from a Windows computer than manipulating internal I²C devices.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^4: perl to I2C
by afoken (Chancellor) on Mar 26, 2023 at 15:30 UTC
    The one terse sentence we got from the OP points more toward controlling an I²C based device from a Windows computer than manipulating internal I²C devices.

    That's what a FT232H based board could do.

    Also, a coworker got a recommendation to use https://spidriver.com/ to test third party SPI hardware by the maker of that hardware. It is open source hardware and software, with a repo at https://github.com/jamesbowman/spidriver. That device has two "sister devices" that speaks I²C instead of SPI: https://i2cdriver.com/, https://i2cdriver.com/mini.html, repo at https://github.com/jamesbowman/i2cdriver. There are no Perl modules yet, but if C and python can talk to the driver hardware via a simple (USB virtual) serial port, Perl should be able to do so, too. At least the serial port part is already done in Device::SerialPort and Win32::SerialPort, so all that's left to do is to stuff the right bytes into the serial port and pull out some other bytes.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)