I'm on a project now and faced problem and can't find a solution how to continue. Problem is I need to start sending data to Serial, when receiving command from Serial1. Everything looks working but I only manage to send one "line", instead of repeating all my needed lines. And can turn on my project as it should. It send one "char/line" and stops, but there must be 3 of them and always on repeat. Can anyone help me to fix this and that arduino will start sending it all the time? Thank you.
I'm maybe can't explain what I would like to get here. But I need to send 3 values to the screen, last value is always 0x83, otherwise screen won't turn on.
I'm sending from Raspberry (Serial1) value "1", which has to enable loop on Arduiino. In this point everything works except that Arduino sends over Serial (to the screen) only one value isnted of these threes, and if I send another "1" it send another value (this happens of random values). And I need that all three values should be sent after Arduino receives "1" trough Serial and Arduino should not stop sending this value. I need that this value from Serial1 "1" only ignites to start loop and if receives "0" stop send this loop or in best scenario sends other values (to shut down screen).