can't send data 1 byte on 1 times


I want to send data 1 byte to receiver.
When I upload program i found that it’s send data 1 bit for 1 time.

char Data = 0b01111001;

void setup() {

void loop() {

thank you,

Get rid of the while(Serial.available()). It will hang there if there is no INCOMING serial bytes. Serial.available is only for receiving. Put a delay of at least 100 after the Serial.print so as to not flood the serial monitor.

Is char Data = 'y'; any more meaningful for your application? Or is it sent to a device that doesn't understand ASCII?