The SoftwareSerial library

There is a thing inside the microcontroller called UART (Universal Asynchronous Receiver Transmitter). It takes a byte and splits it into bits. Then it sends (one bit at a time) it over a communication channel. Before serial communication, we used to use parallel communication by which we could send a number of bits for a character at once at the same time. You might have seen the parallel communication wire or port. A parallel communication wire looks as follows:

The SoftwareSerial library

This is a pretty large port and it takes a large space on our computer, we Serial Communication was invented:

The serial communication can be done with any ...

Get Learning C for Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.