1.

What is the library to be used if one wants to use UART communications on an Arduino?(a) TFT Library(b) SoftwareSerial Library(c) Ethernet Library(d) I2C LibraryThe question was posed to me in a national level competition.I need to ask this question from Standard Libraries topic in chapter Arduino Programming of Arduino

Answer»

The correct CHOICE is (B) SoftwareSerial Library

Easiest explanation: The UART (Universal Asynchronous Receiver Transmitter) is a piece of hardware that allows digital communications between 2 IC’s. The pins on the ARDUINO that support this are 0 and 1. This functionality is parallel in nature, i.e. the Atmega chip on the Arduino can receive UART data and continue to work on whatever it was working on, at the same time.



Discussion

No Comment Found

Related InterviewSolutions