You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
3.6 KiB
HTML
83 lines
3.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Arduino - SerialAvailable </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>int serialAvailable()</h2>
|
|
<h4>Description</h4>
|
|
<p>Get the number of bytes (characters) available for reading over the serial port.
|
|
</p>
|
|
<p class='vspace'></p><h3>Parameters</h3>
|
|
<p>None
|
|
</p>
|
|
<p class='vspace'></p><h4>Returns</h4>
|
|
<p>the number of bytes available, or 0 if there aren't any
|
|
</p>
|
|
<p class='vspace'></p><h4>See also</h4>
|
|
<ul><li><a class='wikilink' href='BeginSerial.html'>beginSerial</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>
|