I am new to this forum and a relative beginner to Arduino (software wise) Have built many projects, but always just copy/paste/modify example code.
I found a couple of these modules (a PIC18 daughter board on the back of a common 16x2 LCD) It says in the data sheet that it can be controlled via I2C, but my skill level is too low to figure out how to do it. Can somebody please give me advice on how to proceed?
The "I2C Scanner" sketch identifies it at address 0x14 , but the usual I2C-LCD libraries don't work on it. I use it with an Arduino UNO, SDA(A4), SCL(A5), 1k8 pullup resistors on each. The module is working 100% with the 1 wire serial method as per the manual.
This is how I think it should work, but it does nothing:
// Include Arduino Wire library for I2C
#include <Wire.h>
// Define Slave I2C Address
#define SLAVE_ADDR 0x14 // 7bit address = 0010100D, 0x14 hex
void setup () {
Wire.begin(); // Initialize I2C communications as Master
// Write something to the Slave
Wire.beginTransmission(0x14); // 0x14 (SLAVE_ADDR) 0010100
Wire.write(0x28); // 00101000
Wire.write(0x00); // Register address "0"
Wire.write("A"); // some text
Wire.endTransmission();
}
void loop () {
}
Link to manual: http://www.i-lcd.com/PDFs/Drivers/Technical%20data%20on%20DS-LCDD5%20Interface%20Module%20(IDS).pdf
Wire.write(0x28);
.