I cannot find any example with second parameter (len) superior of 02
I tried to do this to catch the next 3 bytes:
Nextion button:
C++ code:
case 'L':
Serial.println(_serial->read());
break;
the above code reports 01 only, and not the entire combination like "01 01"
Is there anything to combine both in single variable?
Or how do you do in your cases?
EDIT: when first posted I said it reports twice but I was wrong. It is reporting only once
I cannot find any example with second parameter (len) superior of 02
I tried to do this to catch the next 3 bytes:
Nextion button:
C++ code:
the above code reports 01 only, and not the entire combination like "01 01"
Is there anything to combine both in single variable?
Or how do you do in your cases?
EDIT: when first posted I said it reports twice but I was wrong. It is reporting only once