Serial

Abstract

The Serial is an object used to transmit data using serial communication.

Source Code

The Serial object is defined in hardware/arduino/avr/cores/arduino/HardwareSerial0.cpp as below.

1
HardwareSerial Serial(&UBRR0H, &UBRR0L, &UCSR0A, &UCSR0B, &UCSR0C, &UDR0);

Defines an object named Serial. Calls the constractor of the HardwareSerial. The arguments are registers of serial comuunication. See the explanation of the registers.

Version

Arduino AVR Boards 1.8.6

Last Update

March 21, 2023

inserted by FC2 system