Driver for a Text LCD using a PCF8574 over I2C It works with standard I2C Module with different pinout

Dependencies:   mbed

Fork of I2CTextLCD by Romilly Cocking

main.cpp

Committer:
inggrig
Date:
2018-04-06
Revision:
1:3561ca8c9754
Parent:
0:6beb6f498640

File content as of revision 1:3561ca8c9754:

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

TextLCD lcd(PB_9, PB_8,0x4E);
int k=0;
int main() {
    wait(1);
    lcd.printf("Hi mbed World!\n");
    while(1)
    {
        wait(1);
        lcd.printf("Hi mbed World %d!\n",k);
        k++;
    }
}