The Usb.init () instruction creates problems with LCD display 16x2, depending on where I place it. When Usb.init is not present, the lcd shows anything but if Usb.init () is present, it happens that if for example i write before <lcd.print >
lcd.print ("Hello World!")
if (Usb.Init() == -1)
{while(1);}
"Hello World!" it is displayed on lcd
but if i put <lcd.print > after
if (Usb.Init() == -1)
{while(1);}
lcd .print ("Hello World!")
the lcd does not display anything.
Thanks !!
lcd.print ("Hello World!")
if (Usb.Init() == -1)
{while(1);}
"Hello World!" it is displayed on lcd
but if i put <lcd.print > after
if (Usb.Init() == -1)
{while(1);}
lcd .print ("Hello World!")
the lcd does not display anything.
Thanks !!