Hi Intel_JEspinoza,
How do I realize that is the program is restarting? because after each USB unplug (from my PC), program prints: "WAITING1 USB","DATA... "
This message is displayed in void setup section. See attached ino file (sketch_mar10a.ino).
How to reproduce, way one:
1.-Flash the ino program attached
2.-When LCD prompt "WAITING1 USB","DATA... ", use serial monitor and send any character. After that you will see "ERROR USB PATTERN", " "
3.-After a while, on LCD you will see, WAITING2 USB","DATA..."
4.-At this point, you can unplug USB cable, and on LCD will see the first message: "WAITING1 USB","DATA... "
How to reproduce, way two:
1.-Flash the ino program attached
2.-When prompt "WAITING1 USB","DATA... " use serial monitor and send any character. After that you will see "ERROR USB PATTERN", " "
3.-After a while, you will see, WAITING2 USB","DATA...
4.-At this point, turn off your computer (where you have galileo connected), and on LCD will see the first message: "WAITING1 USB","DATA... "
Note that I'm using a LCD 16X2, OSEPP_LCD_Keypad_Shield, which contains SPLC780D controller.
Thank you.