I soldered up an Adafruit LCD I2C backpack (
http://www.adafruit.com/products/292) that's hooked onto a 16x2 LCD (HD44780) from Microtivity. Hooking it up to my Digispark like this...
5v -> 5v
Gnd -> Gnd
DAT -> P0 (with 3.3k pullup & 5v)
CLK -> P2 (with 3.3k pullup & 5v)
I'm running the stock LCD "BasicUsage" script for the Digispark, and I get just a row of boxes across the top row - no message.
From what I've read, that means I'm getting power to the LCD, but just no signal telling it to do something.
I am suspicious that I need to change the GPIO_ADDR value to something else, but I'm not clear exactly what. The backpack board has 3 jumpers A0-A2, none of which are set. The comment line in the code example isn't very self explanatory for me...
// (PCA8574A A0-A2 @5V) typ. A0-A3 Gnd 0x20 / 0x38 for A - 0x27 is the address of the Digispark LCD modules.
On a hunch (given the Digispark board has A0-2 jumped, meaning 111 binary meaning 7 (hence 0x27), I wondered if mine being not jumpered (meaning 0) means I should use 0x20 as my address. Tried that, same result.
Any suggestions?