Playing with Arduino
A page to record my playing with Arduino
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 1.8.13

Last Update

June 19, 2020

inserted by FC2 system