Canvas graph not plotting

Hello, I have finished coding and the program runs well as indicated by the strategically-set labels I have set, but no graph is being plotted. I need help on how ensure its plotted. Thank you.



Looks like you have three opportunities for your canvas to not draw a line:

  1. xbefore = x , ybefore = y
  2. Canvas paint colour the same as canvas background colour ? You set paint colour to green after you call drawline.
  3. Clearing the canvas if x>CanvasWidth, and setting x and xbefore to 0

Why exactly 10 bytes?

Why do you split incoming message into a global variable, and then ignore it?

What is your split character? Are you trying to split at \n (Line Feed)?

Show us your sketch code.