Serial Interface Fundas
Computer can send/received data
serially thru RS232 port.
Popular devices on RS232 port are
Mouse, Modem, printer, another
computer (devices are not very popular now a days)
Hyperterminal in windows is the
popular prodgram to send/received
data. Need to deﬁne bit rate and serial
Serial.begin is a single line command to
deﬁne that serial port is used. The
parameter in paranthesis is the baud
Remember to set same baud rate in
Serial.println command will send the
data on serial port of arduino. The data is
deﬁned as parameter.
This just send string Hello World once
In setup, deﬁne that serial port is
required, set the baud rate.
In loop, send some data to serial port.
Data is given within quotes.
Delay is given before data is send again
Serial.print - just send the data
Serial.println - send data and then add
line feed and move to beginneing of line.
To print value of variable use
Have more ideas, queries, suggestions?
Contact me at -
email : firstname.lastname@example.org
SMS : 9811074026