Hi, I wonder if there are any C libraries or any C code for the Adafruit RGB Negative 16x2 LCD+Keypad Kit for Raspberry Pi. The software on the Git hub is just Python.
/Jan
Moderators: adafruit_support_bill, adafruit
JanBlomqvist wrote:Hi, I wonder if there are any C libraries or any C code for the Adafruit RGB Negative 16x2 LCD+Keypad Kit for Raspberry Pi. The software on the Git hub is just Python.
/Jan
FunkyELF wrote:If you want to use it from C... calling Python code from C is pretty easy.
You'd just initialize a Python interpreter, instantiate a Adafruit_CharLCDPlate object. Keep it global for simplicity.
Then you can write C function wrappers that call the clear, message, and backlight functions on the the Adafruit_CharLCDPlate object.
Not a native C library, but if you want to be able to control it via C code, that'll work.
Return to Adafruit Raspberry Pi® accessories
Users browsing this forum: ingenium and 1 guest