Hello guys,
i have been having some troubles with getting data from serial ports. I have made a program that gives you the % CPU usage and RAM through the serial ports. And I am printing them to the LCD with Arduino UNO R3. The program sends "*", "/" and "-" for commands second line first line and remove commands respectively. For example program sends data to Arduino through the serial port like this;
Does the program on the PC side send the data exactly as you think it does? Send some mock data (e.g. cpu_usage = 0, 1, 48, 65; then same for RAM) and see if you can detect a pattern in the LCD output.
I just modified the code and it is working very nice but there is a little problem about refresh. Sometimes 2nd like does not appear. I think im gonna try some other methods for lcd.clean(); part. I will keep updating this post in order to help other people thay may having the same problem.