—
See the next message.
—
See the next message.
Please disregard my first post. I’m having trouble using existing nodes to operate a 20x4 LCD. It works with the Adafruit arduino IDE, but I’d rather use XOD. The decimal address is 112, 0x70. Please help. Do i need a new node generated?
I’m not sure what the default is for addr. You can try explicitly using 112d or 70h
with this patch you can scan the address cesars/i2c-scanner
thank you. i’ll give it a try tomorrow.
i ran the patch you suggested. When i run it in the debug mode the “watch” starts to count. When it gets to 119 it stops and displays a check mark. I though this was great the first time I ran it. I then reran this patch with nothing connected to the SCL and SDA lines. I got the same results. Do i need the 10K resistors on the SCL and SDA lines to 5V?
the address of the watch should appear, up to 5 simultaneous i2c then it moves to the right.
Download the library again, remove the limitations, now it is from 0 to 127.
the number on the left in decimal (72 = 48h) is the current scanned address, the central ones are detected addresses. On the right the clock marks scanning, if it finds a device it changes the icon , if not there was an error ends with
I reloaded the scanner. Now that i understand how it works,I confirmed the result correspond with the results i was getting with Arduino IDE scanner. Thank you.
0x20 = 32 decimal
Why doesn’t the LCD work? It works with Arduino IDE.
Is anyone else experiencing this problem with the Adafruit 292 backpack for LCDs? Does the Adafruit 292 require a unique node that incorporates Adafruits Liquid Crystal Library for the 292 I2C backpack? I’ve been able to operate this LCD/backpack using Arduino IDE but not with XOD. I’d prefer to use XOD. Please help!
I think it won’t work because you need a node based on the following arduino library
https://github.com/adafruit/LiquidCrystal/archive/master.zip
How difficult would it be to retrofit that Adafruit Lib with an existing LCD node to generate a new node? I would like to use XOD on this project, but I will need an LCD. Is there a flow chart outlining the steps necessary to correctly accomplish this retrofit?
The easiest thing would be to use another compatible display, adapt some libraries but it is not always easy to achieve a result.
Can see adapted libraries and if you know how to program in C ++, can make it work.
More specific reference for wrapping libraries: https://xod.io/docs/guide/wrapping-arduino-libraries/
I will be purchasing another 2004 LCD and I2C backpack. Witch one do you recommend that is compatible with XOD.
The LCD to I2C adapter module that we will use is based on the I2C controller PCF8574, I do not recommend separately, because some LCDs have a different initialization, and it is not compatible with the xod library.
I had this problem.
Do you have a preferred source for this PCF8574 with the 2004 LCD?
Preferred no, but here is an example