LCD serial with shift register
One possibility to control a display saving pin ;)
Example
#include "mbed.h" #include "LCD_Serial.h" DigitalOut myled(LED1); LCDSerial myLcd(p13,p14,p15,p16); // Data, Clock, Enable, Back int main() { char k=0; myLcd.printf("\fHello mbed! Library\nLCD serial with\nshift register\nby Suky..."); myLcd.vSetBacklight(1); while(1) { myLcd.vGotoxy(20,4); myLcd.vPutc(k); if(++k==8){k=0;} myled = 1; wait(0.2); myled = 0; wait(0.2); } }
Import programSerialLCD_example
LCD Serial with shift register
Library
Import librarySerialLCD
LCD Serial with shift register