<p>The <aclass="el"href="class_debouncer.html"title="The Debouce class. Just the deboucing code separated from all harware.">Debouncer</a>:<aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> class. Links the Deboucing class to a hardware pin. This class is odly named, but it will be kept that so it stays compatible with previous code.
<areahref="class_debouncer.html"title="The Debouce class. Just the deboucing code separated from all harware."alt="Debouncer"shape="rect"coords="0,0,103,24"/>
<trclass="memdesc:aa62a2e2b5ad0ee6913a95f2f2a0e7606"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create an instance of the <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> class. <ahref="class_bounce.html#aa62a2e2b5ad0ee6913a95f2f2a0e7606">More...</a><br/></td></tr>
<trclass="memitem:aba08e592941465d033e3eba3dde66eaf"><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="class_bounce.html#aba08e592941465d033e3eba3dde66eaf">attach</a> (int <aclass="el"href="class_bounce.html#a1cb79cb0ba2379cd12cc7c098d97053a">pin</a>, int mode)</td></tr>
<trclass="memdesc:aba08e592941465d033e3eba3dde66eaf"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Attach to a pin and sets that pin's mode (INPUT, INPUT_PULLUP or OUTPUT). <ahref="class_bounce.html#aba08e592941465d033e3eba3dde66eaf">More...</a><br/></td></tr>
<trclass="memdesc:a114878745aa1f29d3c0c293538280646"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return pin that this <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> is attached to. <ahref="class_bounce.html#a114878745aa1f29d3c0c293538280646">More...</a><br/></td></tr>
<trclass="memdesc:adff02eed264355c2bf90d131768f84c2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Deprecated (i.e. do not use). Included for partial compatibility for programs written with <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> version 1. <br/></td></tr>
<trclass="memdesc:a3ef5b85db62a7a7807f0050c86cc735f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Deprecated (i.e. do not use). Included for partial compatibility for programs written with <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> version 1. <br/></td></tr>
<trclass="inherit_header pub_methods_class_debouncer"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_class_debouncer')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="class_debouncer.html">Debouncer</a></td></tr>
<trclass="memdesc:a34c46ca04d4178933cc0049436d10fe6 inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create an instance of the Debounce class. <ahref="class_debouncer.html#a34c46ca04d4178933cc0049436d10fe6">More...</a><br/></td></tr>
<trclass="memdesc:a930bf3945e698d77b889f6309079857d inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the debounce interval in milliseconds. <ahref="class_debouncer.html#a930bf3945e698d77b889f6309079857d">More...</a><br/></td></tr>
<trclass="memdesc:aa5fcde9156f700c362fd49af5dd92ecd inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the pin's state (HIGH or LOW). <ahref="class_debouncer.html#aa5fcde9156f700c362fd49af5dd92ecd">More...</a><br/></td></tr>
<trclass="memdesc:a80315de311b855f9787b4b6d5b7899e0 inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if pin signal transitions from high to low. <br/></td></tr>
<trclass="memdesc:ab61244e043754ebdc7a156da1e1824bf inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if pin signal transitions from low to high. <br/></td></tr>
<trclass="memdesc:a1bbd627f9d8809b5ee9e64e9fb21e248 inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if the state changed on last update. <ahref="class_debouncer.html#a1bbd627f9d8809b5ee9e64e9fb21e248">More...</a><br/></td></tr>
<trclass="memdesc:a883645ca26b4df6e5823586432104d11 inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the duration in milliseconds of the current state. <ahref="class_debouncer.html#a883645ca26b4df6e5823586432104d11">More...</a><br/></td></tr>
<trclass="memdesc:ac6af22dc9c6ae84462fe356b7430659e inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the duration in milliseconds of the previous state. <ahref="class_debouncer.html#ac6af22dc9c6ae84462fe356b7430659e">More...</a><br/></td></tr>
<trclass="memdesc:a462994f1f9a20876b2ee239eeee97448 inherit pub_methods_class_debouncer"><tdclass="mdescLeft"> </td><tdclass="mdescRight">DEPRECATED (i.e. do not use). Renamed <aclass="el"href="class_debouncer.html#a883645ca26b4df6e5823586432104d11"title="Returns the duration in milliseconds of the current state.">currentDuration()</a>. <ahref="class_debouncer.html#a462994f1f9a20876b2ee239eeee97448">More...</a><br/></td></tr>
<trclass="inherit_header pro_methods_class_debouncer"><tdcolspan="2"onclick="javascript:toggleInherit('pro_methods_class_debouncer')"><imgsrc="closed.png"alt="-"/> Protected Member Functions inherited from <aclass="el"href="class_debouncer.html">Debouncer</a></td></tr>
<trclass="memdesc:a1cb79cb0ba2379cd12cc7c098d97053a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Deprecated (i.e. do not use). Included for partial compatibility for programs written with <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> version 1. <br/></td></tr>
<divclass="textblock"><p>The <aclass="el"href="class_debouncer.html"title="The Debouce class. Just the deboucing code separated from all harware.">Debouncer</a>:<aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> class. Links the Deboucing class to a hardware pin. This class is odly named, but it will be kept that so it stays compatible with previous code. </p>
<p>Create an instance of the <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> class. </p>
<p>Attach to a pin for advanced users. Only attach the pin this way once you have previously set it up. Otherwise use <aclass="el"href="class_bounce.html#aba08e592941465d033e3eba3dde66eaf"title="Attach to a pin and sets that pin's mode (INPUT, INPUT_PULLUP or OUTPUT).">attach(int pin, int mode)</a>. </p>
<p>Return pin that this <aclass="el"href="class_bounce.html"title="The Debouncer:Bounce class. Links the Deboucing class to a hardware pin. This class is odly named,...">Bounce</a> is attached to. </p>
<dlclass="section return"><dt>Returns</dt><dd>integer identifier of the coupled pin </dd></dl>
<divclass="ttc"id="aclass_bounce_html_aa62a2e2b5ad0ee6913a95f2f2a0e7606"><divclass="ttname"><ahref="class_bounce.html#aa62a2e2b5ad0ee6913a95f2f2a0e7606">Bounce::Bounce</a></div><divclass="ttdeci">Bounce()</div><divclass="ttdoc">Create an instance of the Bounce class.</div><divclass="ttdef"><b>Definition:</b> Bounce2.cpp:138</div></div>