User Tools

Site Tools


en-us_commands:reference:ianalogreadf

Differences

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

Link to this comparison view

Next revision
Previous revision
en-us_commands:reference:ianalogreadf [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1en-us_commands:reference:ianalogreadf [2026/09/08 00:53] (current) – 바깥 편집 127.0.0.1
Line 21: Line 21:
  
 void loop() { void loop() {
-  float voltage = IanalogReadf(A0, 0.0F, 10.0F);+  float voltage = IanalogReadf(A0, 0.0F, 10.0F);  // Map the analog input value to the specified floating-point range.
   Serial.println(voltage, 2);   Serial.println(voltage, 2);
   delay(500);   delay(500);
Line 35: Line 35:
   * Set the MPAINO analog input module's DIP switches and wiring to match the actual input type.   * Set the MPAINO analog input module's DIP switches and wiring to match the actual input type.
   * This command performs only linear range conversion. Sensor error compensation, open-circuit detection or 4~20mA software Cut requires separate processing.   * This command performs only linear range conversion. Sensor error compensation, open-circuit detection or 4~20mA software Cut requires separate processing.
 +
 +===== Built-in Commands in the Same Category =====
 +
 +  * [[:en-us_commands:reference:ianalogread|IanalogRead() View detailed description]]
  
 [[:en-us_commands:builtin|← Built-in Command List]] [[:en-us_commands:builtin|← Built-in Command List]]
  
en-us_commands/reference/ianalogreadf.1788785566.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki