Is a communication method where there is no global clock between the transmitter and the receiver. Each device has a local clock and it uses it to send or receive data. Example of this wired communication method is UART which stands for Universal Asynchronous Receiver Transmitter. Usually in this communication method the two parties involved agree on a certain baud rate which determines the bit time or the symbol time.
Synchronous communication uses a special line for a clock which synchronizes the transmission of data with the clock pulses. Examples of this are I2C and SPI.
if (data_rcvd == '5')
.