I2C LCD on RAMPS

Hi, all.
I have RAMPS 1.4 up and running great with my ToyRep.
I have old 20x4 LCD with PCF8574.
I cannot get it to work for some reason.
What I changed:
In Configuration.h I've selected FEATURE_CONTROLLER to 1
In UI_CONFIG.h I've selected
DISPLAY_TYPE 3
UI_DISPLAY_I2C_CHIPTYPE 0
UI_DISPLAY_I2C_ADDRESS 0x27 (detected by i2c detect on the same HW)
and I've set all the I2C bits according my test sketch with Liquidcrystal_i2c library.
I have no buttons/keys/buzzer.
However, the display does not get initialized and the firmware "freezes" during start with only this text in serial console:
start

Info:External Reset

Transformation matrix: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000

Minimum Speed:3.94

Minimum Speed Z:0.14


When I set the FEATURE_CONTROLLER to 0, the firmware works OK but the LCD, of course, does not.
Any hints on how to setup such home-brew LCD?

Comments

Sign In or Register to comment.