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
Last revisionBoth sides next revision
ezeio2:scriptref:setinputmode [2019-06-16 00:39] andrehezeio2:scriptref:setinputmode [2019-06-16 00:40] andreh
Line 38: Line 38:
  
 <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.txt
  • Last modified: 2019-09-02 21:41
  • by andreh