LiquidCrystal_I2C
LiquidCrystal_I2C copied to clipboard
Add support for RPI
Rewrote LiquidCrystal_I2C.git to factor out Arduino-based code into an implementation class that can be instantiated on Arduino platforms at compile time. Coded a similar class that uses Linux-based i2c APIs, and supports Raspberry PI.
Nice thing is this library can now be used for both platforms. For Arduino, copy to the library directory as before. For RPI, it Makefiles are provided so it can be cross compiled (or compiled directly on the RPI) as a library, and then examples (such as CustomChars) can be ported to use it.
No changes are needed to the existing examples, they will work as in. cpp versions of HelloWorld and CustomChars were added, but mostly to add a main() that allows for specification of the i2c bus and the ID of the device.
Accepting this pull should not break existing arduino use cases, and will double the impact of this code bringing Raspberry PI community on board.
@johnrickman please review, drop in replacement that now allows this code to support Raspberry PI.
Please note that I have move this repo to https://gitlab.com/tandembyte/liquidcrystal_i2c
I can’t find this on gitlab - returns a 404.
On Tue, Jul 7, 2020 at 7:53 AM John Rickman [email protected] wrote:
Please note that I have move this repo to https://gitlab.com/tandembyte/liquidcrystal_i2c
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johnrickman/LiquidCrystal_I2C/pull/43#issuecomment-654919993, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABU7SOV3CAZBCBDSRBYT53R2MZH5ANCNFSM4OQSAP3A .
-- Syd Logan
Sorry, I put the wrong url. It is https://gitlab.com/tandembyte/LCD_I2C
Okay, thanks.
On Tue, Jul 7, 2020 at 9:08 AM John Rickman [email protected] wrote:
Sorry, I put the wrong url. It is https://gitlab.com/tandembyte/LCD_I2C
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johnrickman/LiquidCrystal_I2C/pull/43#issuecomment-654966940, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABU7SJWK5OBTG53TT3JKQTR2NB75ANCNFSM4OQSAP3A .
-- Syd Logan
Where can this library be found that supports the rPi? The URl:
https://gitlab.com/tandembyte/LCD_I2C
Is not found.
Thanks!