LiquidCrystal_I2C icon indicating copy to clipboard operation
LiquidCrystal_I2C copied to clipboard

Problems using the library within an interrupt

Open LennartHennigs opened this issue 9 years ago • 3 comments

Hey Marco,

I tried to use your library within an interrupt function but it seems to halt my Arduino (Leonardo). For the interrupt handler I used the TimerThree Llibrary with a default one second interval. The code worked before with a non I2C display and the "regular" LiquidCrystal lib. My (uneducated) guess is that the delay() functions might cause some problems. Do you have any suggestions? If you need more details or some code sample please let me know...

Cheers l.

LennartHennigs avatar Sep 05 '15 21:09 LennartHennigs

Hello Lennart,

Unfortunately I am not the creator of the library, I simply forked it from:

https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library

I did the fork to make it available within the Arduino IDE library manager. I'd suggest getting in touch with the owner of the library directly, but as you can see it's not maintained for about 4 years :(

marcoschwartz avatar Sep 06 '15 15:09 marcoschwartz

Hey Marco, thanks for the quick reply. I'll see what I can do. I also found a thread discussing the problem in a bit more detail - might be of interest for others: http://forum.arduino.cc/index.php?topic=140588.0

Cheers l.

LennartHennigs avatar Sep 07 '15 12:09 LennartHennigs

But this library is not a fork it's a reupload according to github. It would be nice if you'd actually fork it and give credit to the original author.

Avamander avatar Oct 18 '15 18:10 Avamander