<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Arduino - BeginSerial </title> <link rel='stylesheet' href='arduino.css' type='text/css' /> </head> <body> <div id="page"> <!--PageHeaderFmt--> <div id="pageheader"> <div class="title"><a href="http://www.arduino.cc/">Arduino</a></div> <div class="search"> <!-- SiteSearch Google --> <FORM method=GET action="http://www.google.com/search"> <input type=hidden name=ie value=UTF-8> <input type=hidden name=oe value=UTF-8> <INPUT TYPE=text name=q size=25 maxlength=255 value=""> <INPUT type=submit name=btnG VALUE="search"> <input type=hidden name=domains value="http://www.arduino.cc/"> <input type=hidden name=sitesearch value="http://www.arduino.cc/"> </FORM> <!-- SiteSearch Google --> </div> </div> <!--/PageHeaderFmt--> <!--PageLeftFmt--> <div id="pagenav"> <p><a class='wikilink' href='Guide_index.html'>Guide</a> </p> <p class='vspace'></p><p><a class='wikilink' href='http://www.arduino.cc/en/Tutorial/HomePage'>Tutorials</a> </p> <p class='vspace'></p><p><a class='wikilink' href='index.html'>Reference</a> </p> <p class='vspace'></p><p><a class='wikilink' href='http://www.arduino.cc/en/Main/Hardware'>Hardware</a> </p> <p class='vspace'></p><p><a class='wikilink' href='http://www.arduino.cc/en/Main/Software'>Software</a> </p> <p class='vspace'></p><p><a class='urllink' href='http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl' rel='nofollow'>Forum</a> </p> <p class='vspace'></p><p><a class='urllink' href='http://www.arduino.cc/playground/' rel='nofollow'>Playground</a> </p> <p class='vspace'></p><p><a class='urllink' href='http://www.arduino.cc/playground/Projects/ArduinoUsers' rel='nofollow'>Exhibition</a> </p> <p class='vspace'></p><p><a class='wikilink' href='http://www.arduino.cc/en/Hacking/HomePage'>Hacking</a> </p> <p class='vspace'></p><p><a class='wikilink' href='http://www.arduino.cc/en/Main/FAQ'>FAQ</a> </p> <p class='vspace'></p><p><a class='wikilink' href='http://www.arduino.cc/en/Main/Buy'>Buy</a> </p> </div> <!--/PageLeftFmt--> <div id="pagetext"> <!--PageText--> <div id='wikitext'> <p><a class='wikilink' href='index.html'>Language</a> | <a class='wikilink' href='Libraries.html'>Libraries</a> | <a class='wikilink' href='Comparison.html'>Comparison</a> </p><h2>beginSerial(speed)</h2> <h4>Description</h4> <p>Initializes the serial port. Should be called from inside <a class='wikilink' href='Setup.html'>setup()</a>. </p> <p class='vspace'></p><h4>Parameters</h4> <p>speed: the baud rate to use for the serial communication (e.g. 9600 or 19200) </p> <p class='vspace'></p><h4>Returns</h4> <p>None </p> <p class='vspace'></p><h4>Note</h4> <p>Serial Arduino boards supports speeds up to 19200 baud. USB boards support up to 115200 baud (with release 0003 and later of the Arduino software). </p> <p class='vspace'></p><h4>See also</h4> <ul><li><a class='wikilink' href='SerialAvailable.html'>serialAvailable</a> </li><li><a class='wikilink' href='SerialRead.html'>serialRead</a> </li><li><a class='wikilink' href='SerialWrite.html'>serialWrite</a> </li><li><a class='wikilink' href='PrintByte.html'>printByte</a> </li><li><a class='wikilink' href='PrintString.html'>printString</a> </li><li><a class='wikilink' href='PrintInteger.html'>printInteger</a> </li><li><a class='wikilink' href='PrintHex.html'>printHex</a> </li><li><a class='wikilink' href='PrintOctal.html'>printOctal</a> </li><li><a class='wikilink' href='PrintBinary.html'>printBinary</a> </li></ul><p class='vspace'></p><p><a class='wikilink' href='index.html'>Reference Home</a> </p> </div> </div> <!--PageFooterFmt--> <div id="pagefooter"> <a href='#'>Edit Page</a> | <a href='#'>Page History</a> | <a href='#' target='_blank'>Printable View</a> | <a href='RecentChanges.html'>Recent Site Changes</a> </div> <!--/PageFooterFmt--> </div> </body> </html>