Difference between revisions of "Mixly Block Category - SerialPort"

From Microduino Wiki
Jump to: navigation, search
(Serial Baud Rate)
Line 1: Line 1:
 +
Serial is used for communication between the Microduino / Arduino board and a computer or other devices. All Microduino / Arduino boards have at least one serial port (also known as a UART or USART): Serial. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.
 +
 +
 +
Read more here: https://www.arduino.cc/en/Reference/Serial
 
=Serial Baud Rate=
 
=Serial Baud Rate=
 
Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200.  
 
Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200.  

Revision as of 00:46, 22 February 2017

Serial is used for communication between the Microduino / Arduino board and a computer or other devices. All Microduino / Arduino boards have at least one serial port (also known as a UART or USART): Serial. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.


Read more here: https://www.arduino.cc/en/Reference/Serial

Serial Baud Rate

Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200.


Read more here: https://www.arduino.cc/en/serial/begin

Serial Write

Serial Print

Serial PrintLn

Serial PrintLn(Hex)

Serial Availability

Serial Read String

Serial Read String Until Character Delimitation

Serial Read

  • read
  • peek
  • parseInt
  • paraseFloat

Serial Flush

Software Serial Setup