LCD i2c - how the lcd should behave right after uploading firmware?
Hello guys,
I think I need some help with configuring my lcd.
I've connected it to i2c bus, and it appear to communicate right at address of 0x4e. Firmware does not freeze or anything, and communicates with host normally.
Right after turning the power on, backlights off's and lcd shows nothing but blinking cursor.
Another thing: apparently, there is no definition of i2c backlight enable pin.
I can imagine, that some custom configuration (pages?) is missing, but i cannot find any instructions how to configure those.
Im not using any keyboard/buttons nor encoder yet. I'm just interested in showing some status info (ie. bed temp., extruder temp and so on.)
My board is teensy. (at90usb1287)
One more thing:
compiling the firmware from the web configuration tool (0.92.8 version) with arduino 1.6.7, some warnings pop ups but code compiles anyway:
c:\temp\build49f8c4240fead11f261f6e38555cc2be.tmp\sketch\ui.cpp: In member function 'void UIDisplay::initialize()':
c:\temp\build49f8c4240fead11f261f6e38555cc2be.tmp\sketch\ui.cpp:902:54: warning: large integer implicitly truncated to unsigned type [-Woverflow]
HAL::i2cWrite(~(UI_DISPLAY_I2C_OUTPUT_PINS & 255));
^
c:\temp\build49f8c4240fead11f261f6e38555cc2be.tmp\sketch\ui.cpp:903:53: warning: large integer implicitly truncated to unsigned type [-Woverflow]
HAL::i2cWrite(~(UI_DISPLAY_I2C_OUTPUT_PINS >> 8));
^
c:\temp\build49f8c4240fead11f261f6e38555cc2be.tmp\sketch\ui.cpp: In member function 'int UIDisplay::okAction(bool)':
c:\temp\build49f8c4240fead11f261f6e38555cc2be.tmp\sketch\ui.cpp:2441:1: warning: control reaches end of non-void function [-Wreturn-type]
thanks for your help.
dev.
Comments