User Tools

Site Tools


uphp:functions:pin_configure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:pin_configure [2017/05/19 15:54]
jeff
uphp:functions:pin_configure [2021/09/13 05:57] (current)
Line 3: Line 3:
 <badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Configure an <tooltip title="Input/Output">IO</tooltip> pin as a digital input, output, or analog input+Configure an <tooltip title="Input/Output">I/O</tooltip> pin as a digital input, output, or analog input
  
 ====Description==== ====Description====
Line 19: Line 19:
 </html></well> </html></well>
  
-This function will change settings for certain pins on the WattmonPRO and MEGA.  This is actually not to be used unless you know what you are doing, because it may cause certain parts of the device to not function properly.+This function will change settings for certain pins on [[hardware:wattmons:WattmonPRO]] and [[hardware:wattmons:WattmonMEGA|MEGA]].  This is actually not to be used unless you know what you are doing, because it may cause certain parts of the device to not function properly.
  
 ====Parameters==== ====Parameters====
Line 61: Line 61:
 ====See Also==== ====See Also====
  
-[[pin_get()]] - Return the value of an IO pin+[[pin_get()]] - Return the value of an <tooltip title="Input/Output">I/O</tooltip> pin
  
-[[pin_set()]] - Set a digital output to value (1 or 0)+[[pin_set()]] - Set a digital output to value 1 or 0
  
 [[adc_read()]] - Read an onboard <tooltip title="Analog to Digital Converter">ADC</tooltip> channel [[adc_read()]] - Read an onboard <tooltip title="Analog to Digital Converter">ADC</tooltip> channel
  
uphp/functions/pin_configure.1495209245.txt.gz · Last modified: 2021/09/13 05:56 (external edit)