User Tools

Site Tools


en-us_commands:reference:analogwriteinit

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:analogwriteinit [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1en-us_commands:reference:analogwriteinit [2026/09/08 00:53] (current) – 바깥 편집 127.0.0.1
Line 17: Line 17:
 <code cpp> <code cpp>
 void setup() { void setup() {
-  analogWriteInit(0, 65535, 1);+  analogWriteInit(0, 65535, 1);  // Set the output timer's resolution and prescaler.
  
   analogWrite(0, 32767);  // Approx. 50%   analogWrite(0, 32767);  // Approx. 50%
Line 40: Line 40:
   * MPAINO analog output modules may require a separate power supply and DIP switch settings.   * MPAINO analog output modules may require a separate power supply and DIP switch settings.
   * The actual voltage or current output range must match the module DIP switches, supply, wiring and input specifications of the connected equipment.   * The actual voltage or current output range must match the module DIP switches, supply, wiring and input specifications of the connected equipment.
 +
 +===== Built-in Commands in the Same Category =====
 +
 +  * [[:en-us_commands:reference:analogwritefreq|analogWriteFreq() View detailed description]]
 +  * [[:en-us_commands:reference:analogwritemax|analogWriteMax() View detailed description]]
 +  * [[:en-us_commands:reference:ianalogwriteinit|IanalogWriteInit() View detailed description]]
 +  * [[:en-us_commands:reference:ianalogwrite|IanalogWrite() View detailed description]]
 +  * [[:en-us_commands:reference:ianalogwritef|IanalogWritef() View detailed description]]
  
 [[:en-us_commands:builtin|← Built-in Command List]] [[:en-us_commands:builtin|← Built-in Command List]]
  
en-us_commands/reference/analogwriteinit.1788785565.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki