|
92 | 92 | <tr class="memitem:a102c8091dfcad61bb54d7d2e03f8367e"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___n_a_u7802.html#a102c8091dfcad61bb54d7d2e03f8367e">read</a> (void)</td></tr> |
93 | 93 | <tr class="memdesc:a102c8091dfcad61bb54d7d2e03f8367e"><td class="mdescLeft"> </td><td class="mdescRight">Read the stored 24-bit ADC output value. <a href="#a102c8091dfcad61bb54d7d2e03f8367e">More...</a><br /></td></tr> |
94 | 94 | <tr class="separator:a102c8091dfcad61bb54d7d2e03f8367e"><td class="memSeparator" colspan="2"> </td></tr> |
| 95 | +<tr class="memitem:a9692eae9c2e2359d57fde96cc4d6b2a9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___n_a_u7802.html#a9692eae9c2e2359d57fde96cc4d6b2a9">setChannel</a> (uint8_t channel)</td></tr> |
| 96 | +<tr class="memdesc:a9692eae9c2e2359d57fde96cc4d6b2a9"><td class="mdescLeft"> </td><td class="mdescRight">Set which channel for ADC. <a href="#a9692eae9c2e2359d57fde96cc4d6b2a9">More...</a><br /></td></tr> |
| 97 | +<tr class="separator:a9692eae9c2e2359d57fde96cc4d6b2a9"><td class="memSeparator" colspan="2"> </td></tr> |
95 | 98 | <tr class="memitem:ab4dcb1b211fe46a751a8fc923cb97b9f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___n_a_u7802.html#ab4dcb1b211fe46a751a8fc923cb97b9f">setLDO</a> (<a class="el" href="_adafruit___n_a_u7802_8h.html#a772c68e01f81b4fb15a3f181cbaf69fa">NAU7802_LDOVoltage</a> voltage)</td></tr> |
96 | 99 | <tr class="memdesc:ab4dcb1b211fe46a751a8fc923cb97b9f"><td class="mdescLeft"> </td><td class="mdescRight">The desired LDO voltage setter. <a href="#ab4dcb1b211fe46a751a8fc923cb97b9f">More...</a><br /></td></tr> |
97 | 100 | <tr class="separator:ab4dcb1b211fe46a751a8fc923cb97b9f"><td class="memSeparator" colspan="2"> </td></tr> |
@@ -232,6 +235,33 @@ <h2 class="memtitle"><span class="permalink"><a href="#a102c8091dfcad61bb54d7d2e |
232 | 235 | <p>Read the stored 24-bit ADC output value. </p> |
233 | 236 | <dl class="section return"><dt>Returns</dt><dd>Signed integer with ADC output result, extended to a int32_t </dd></dl> |
234 | 237 |
|
| 238 | +</div> |
| 239 | +</div> |
| 240 | +<a id="a9692eae9c2e2359d57fde96cc4d6b2a9"></a> |
| 241 | +<h2 class="memtitle"><span class="permalink"><a href="#a9692eae9c2e2359d57fde96cc4d6b2a9">◆ </a></span>setChannel()</h2> |
| 242 | + |
| 243 | +<div class="memitem"> |
| 244 | +<div class="memproto"> |
| 245 | + <table class="memname"> |
| 246 | + <tr> |
| 247 | + <td class="memname">bool Adafruit_NAU7802::setChannel </td> |
| 248 | + <td>(</td> |
| 249 | + <td class="paramtype">uint8_t </td> |
| 250 | + <td class="paramname"><em>channel</em></td><td>)</td> |
| 251 | + <td></td> |
| 252 | + </tr> |
| 253 | + </table> |
| 254 | +</div><div class="memdoc"> |
| 255 | + |
| 256 | +<p>Set which channel for ADC. </p> |
| 257 | +<dl class="params"><dt>Parameters</dt><dd> |
| 258 | + <table class="params"> |
| 259 | + <tr><td class="paramname">channel</td><td>Set to 0 for CH1, 1 for CH2 </td></tr> |
| 260 | + </table> |
| 261 | + </dd> |
| 262 | +</dl> |
| 263 | +<dl class="section return"><dt>Returns</dt><dd>False if any I2C error occured </dd></dl> |
| 264 | + |
235 | 265 | </div> |
236 | 266 | </div> |
237 | 267 | <a id="ab4dcb1b211fe46a751a8fc923cb97b9f"></a> |
|
0 commit comments