en-us_commands:analog_input
Differences
This shows you the differences between two versions of the page.
| en-us_commands:analog_input [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_commands:analog_input [2026/09/12 22:54] (current) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Analog Input and Range Conversion | + | ====== Analog Input Built-in Commands |
| - | ^ Command ^ Return Value / Purpose ^ | + | Check the voltage, current or temperature |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | <code cpp> | + | ^ Goal ^ Commands ^ |
| - | void setup() { analogReadInit(IANALOG_SPS_64); } | + | | Read a raw analog value | [[: |
| - | void loop() { | + | | Average multiple samples | [[: |
| - | float value = IanalogReadf(0, 0.0, 100.0); | + | | Scale an input range | [[: |
| - | } | + | | Read or scale a 4–20 mA input | [[: |
| - | </ | + | | Read NTC or PT100 temperature | [[: |
| - | ===== Command Prototypes ===== | + | On MPAINO, each X analog input channel' |
| - | ^ Return Type ^ Command Prototype ^ | + | [[: |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | + | ||
| - | First check the channel, input module voltage/ | + | |
| - | + | ||
| - | [[: | + | |
en-us_commands/analog_input.1788785564.txt.gz · Last modified: by 127.0.0.1
