Hello everyone, I'm trying to use serial communication to transmit an integer number, that's not the problem because it works as expected except for one thing, when I send a number greater than 255 for example 256 then I see 0 in my monitor, I guess the reason for this is that there is only one byte available and then any number greater than 255 will not fit, my question is ¿Is there any way solve this or another function that allows me to send numbers greater than 255?
By the way, I have tried with Serial.print but then I receive a series of bytes, for example, if I send 148 what I see in the monitor is:
49 52 56
with some lines of codes, I could transform this in 148 of course but I wonder if there is a simpler way using some function like Serial.write.
Thank you in advance to all!