Chipakias:
Thank you for your answer but I am not sure that it works as when I create the program :int x= 100;
void setup() {
Serial.begin(9600);
}
void loop() {
byte y = x;
Serial.println (y);
}It prints 100. Why ?
Because you told it to. What are you expecting it to do?
Serial.print() and Serial.println() convert 100 to '1', '0' and '0'. to print it to the screen. You can use Serial.write and it will send the binary value of 100 to the screen, which is 'd'.