ezeio2:scriptref:setinputmode

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
ezeio2:scriptref:setinputmode [2019-06-16 00:39] andrehezeio2:scriptref:setinputmode [2019-09-02 21:41] (current) andreh
Line 1: Line 1:
-===== Script reference ====== +==== SetInputMode ====
- +
-==== SetInputMode( inputno, mode ) ====+
  
 Set the input mode on a native ezeio input. Set the input mode on a native ezeio input.
Line 38: Line 36:
  
 <code javascript>     <code javascript>    
-   SetInputMode(3, INMODE_30mA);+   SetInputMode(3, INMODE_30mA);                  // Set input 3 on ezeio to measure current 
 +   SetInputMode(DVC3+1, INMODE_THERMISTOR_10k_2); // Set input 1 on I/O expansion 3 to measure a thermistor
  
 </code> </code>
  
  • ezeio2/scriptref/setinputmode.1560645542.txt.gz
  • Last modified: 2019-06-16 00:39
  • by andreh