Open anmthu008 opened 6 years ago
You're probably the first to try the combination of I2C bus and HD44780 display. Code is designed to allow this combination, but so far nobody tried. For development we had a parallel wired HD44780 and a graphical I2C display with an entirely different protocol.
Error messages hint to some #ifdef
missing or in excess. If you manage to fix this: cheers to you! And double-cheers for providing a patch!
@Traumflug , may i know which i2c display you guys tested with? Btw I attached mine 1602 display and i2c adaptor, and it works when I try the 3rd method from this link -> https://arduino-info.wikispaces.com/LCD-Blue-I2C .. But i haven't have any luck with the teacup firmware cuz i'm not very good when it comes to C/C++ programming. Lastly, i dont think parallel wiring to Arduino UNO with a CNC Shield is a good idea as the I/O pins are already running out.
Sure enough, a parallel bus needs more pins. But that's what most people have in hardware and Teacup should work on any hardware. Accordingly the strategy choosen is to have modules for each, communications bus and the display its self. Similar to C++ classes.
I2C display development can be seen here: https://github.com/Traumflug/Teacup_Firmware/issues/190 . It's a SSD1306 type display. Some hints on development of the HD44780 display are here: https://github.com/Traumflug/Teacup_Firmware/issues/214
alright.. thanks @Traumflug
hey guys.. why do i get this error when compiling whenever I enable DISPLAY BUS I2C and HD44780/1602? Cuz i intend to use my 1602 LCD with i2c and connecting SDA/SCK to respective A4/A5 pins to the board.
FYI, i didnt modified the code in anyway, I just downloaded the firmware and try to compile for my UNO board with CNC SHIELD V3. all with default settings (except the printer motor settings and thermistor settings)