Android Things PCF8574 and HD44780

The next step is to get some sort of display onto the Android Things Raspberry Pi. I have a drawer full of LCD modules, based on the HD44780, that I have used before with the PCF8574 I2C IO port expander.

The Android Things preview image has java support for I2cDevice. Writing a driver for the PCF8574 was a matter of porting some code from my old AVR library.

Code to follow…