I recently dusted off my old Bus Pirate v3a and flashed this firmware and one of the things I wanted to try was to test 16x2 LCDs for which I have I2C adapter modules ("backpacks").
I then discovered that the LCD support in the Bus Pirate is for adapters based on the 74HC595 shift register, however I also discovered that once upon a time the PCF8574 was supported and that's what the common I2C modules use.
I adapted the old code from here (v5newterm) https://code.google.com/archive/p/the-bus-pirate/source/default/source and I managed to combine support for both 74HC595 and PCF8574 adapters (the user is prompted to pick which one they have as soon as they enter LCD mode).
Seems to work correctly.
#200
I recently dusted off my old Bus Pirate v3a and flashed this firmware and one of the things I wanted to try was to test 16x2 LCDs for which I have I2C adapter modules ("backpacks").
I then discovered that the LCD support in the Bus Pirate is for adapters based on the 74HC595 shift register, however I also discovered that once upon a time the PCF8574 was supported and that's what the common I2C modules use.
I adapted the old code from here (v5newterm) https://code.google.com/archive/p/the-bus-pirate/source/default/source and I managed to combine support for both 74HC595 and PCF8574 adapters (the user is prompted to pick which one they have as soon as they enter LCD mode).
Seems to work correctly.
#200