Explain how to use lcd driver.
#include <sys/ifstream.h> #include <dev/lcd.h> //register LCD driver if (NutRegisterDevice(&devLcd0, 0xf000, 0)) { NutPrintFormat(0, "Registering lcd device failed.\r\n"); } else { NutPrintFormat(0, "Registering lcd device sucess.\r\n"); } //open LCD devLcd = NutDeviceOpen("lcd0"); //print text to LCD display NutPrintFormat(devLcd, "EVBedu.net ver 1b0"); //flush to send buffer NutPrintFlush(devLcd);