![]() ![]() ![]() LiquidCrystal_I2C lcd(0x27,20,4) // set the LCD address to 0x27 for a 16 chars and 2 line displayĪnd this is what I get: C:\Users\SimoneMeggiato\AppData\Local\Temp\arduino-sketch-8535BE6235A46E5A7F2B765A3121734E\sketch\: In function `setup':Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:11: undefined reference to `LiquidCrystal_I2C::init()'Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:12: undefined reference to `LiquidCrystal_I2C::init()'Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:14: undefined reference to `LiquidCrystal_I2C::backlight()'Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:15: undefined reference to `LiquidCrystal_I2C::setCursor(unsigned char, unsigned char)'Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:17: undefined reference to `LiquidCrystal_I2C::setCursor(unsigned char, unsigned char)'Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:19: undefined reference to `LiquidCrystal_I2C::setCursor(unsigned char, unsigned char)'Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:21: undefined reference to `LiquidCrystal_I2C::setCursor(unsigned char, unsigned char)'Ĭ:\Users\XXXXXXXXXXX\AppData\Local\Temp\arduino-sketch-8535BE6235A46E5A7F2B765A3121734E\sketch\: In function `_static_initialization_and_destruction_0':Ĭ:\Users\XXXXXXXXXXX\OneDrive - XXXXXXXXXXXXXXX\Documenti\Arduino\libraries\LiquidCrystal_I2C-1.1.2\examples\HelloWorld/HelloWorld.pde:7: undefined reference to `LiquidCrystal_I2C::LiquidCrystal_I2C(unsigned char, unsigned char, unsigned char)'Ĭollect2.exe: error: ld returned 1 exit status I'm using Arduino IDE 2.0.0 though: //YWROBOT This is the code (the original code from "Hello World!" sample included with LiquidCrystal_I2C 1.1.2). If it happens to you to have a LiquidCrystal_I2C library that WORKS with DUE, would you mind to share it with me? I mean ALL of them give variable errors during compile. The hardware interface seems to work fine, as the I2C scanner sketch finds the device at 0x27, however I could not find any version of LiquidCrystal_I2C library that works with DUE. I connected it to the DUE (Vcc 5V, GND, SCL-21, SDA-20) after removing the pull-up SMD resistors from the backpack. ![]() I have a basic Amazon/Ebay 20x4 I2C display (HD44780 based with I2C backpack) that worked flawlessly with the UNO. I know this topic has been covered more than one time in the past on this forum but I could not find a way to make this to work. It was pretty easy to do almost anything I wanted to do with the UNO but now I'd like to shift to DUE. Many years ago, when no one except professionals and very few amateurs did that, I enjoyed to make and program (assembly) MC68HC11/12 microcontrollers.īeing restricted to home, after an accident, I decided to give a try to Arduino boards (I have an UNO and a DUE). Premise (you freely can skip this if you are uninterested about my past experience). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |