Differences
This shows you the differences between two versions of the page.
ezeio2:scriptref:getinputmode [2025-07-10 18:26] – created andreh | ezeio2:scriptref:getinputmode [2025-07-10 18:28] (current) – andreh | ||
---|---|---|---|
Line 20: | Line 20: | ||
^ 2 | INMODE_PULLUP | Weak pull-up to +5V, <1mA | Ohm (resistance) | 0-1000000Ω | | ^ 2 | INMODE_PULLUP | Weak pull-up to +5V, <1mA | Ohm (resistance) | 0-1000000Ω | | ||
^ 3 | INMODE_TEST | | internal test mode | | | ^ 3 | INMODE_TEST | | internal test mode | | | ||
+ | |||
+ | Note that only the hardware mode is returned. While the SetInputMode command accepts various other modes, the only four possible hardware modes are the above. The various thermistor modes will all return as 2: | ||
=== Example usage === | === Example usage === |