Is there any TextLCD program directly work on mbed studio(mbed-os 6.6 )

Hello,

This library is old and it is not maintained by its original owner.

However Kenji Aray updated it for MbedOS6. I use this TextLCD under the Mbed Studio, MbedOS6.5 bare metal and Nucleo-F303K8.

Example
#include "mbed.h"
#include "TextLCD.h"

DigitalOut led(LED1);
I2C i2cBus(I2C_SDA, I2C_SCL);
TextLCD_I2C lcd(&i2cBus, PCF8574_SA7, TextLCD::LCD20x4);

int main(){
    printf("LCD test\n");
    
    lcd.setCursor(TextLCD::CurOff_BlkOff);
    lcd.cls();
    lcd.setBacklight(TextLCD::LightOn);
    lcd.printf("LCD hello\n");

    thread_sleep_for(50);

    while(1) {
        thread_sleep_for(500);
        led = !led;
    }
}
 

Is there any TextLCD library working on mbed-os6 in MBED Studio? - Mbed OS - Arm Mbed OS support forum

BR, Jan

1 Like