User Tools

Site Tools


en-us_commands:reference:isegdecimal

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:isegdecimal [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1en-us_commands:reference:isegdecimal [2026/09/08 00:53] (current) – 바깥 편집 127.0.0.1
Line 17: Line 17:
 <code cpp> <code cpp>
 void setup() { void setup() {
-  IsegBegin(14, 15);       // MPAINO: TXD(D14)RXD(D15+  IsegBegin(14, 15, 100, 0);  // Set the CLK/DIO pins and device number of the TM1637 FND. 
-  IsegBrightness(7); +  IsegBegin(130131, 100, 1);  // MPAINO K/K2 GPIO channels 0, 1 
-  IsegClear();+  IsegBrightness(7, true, 0);  // Set display brightness and on/off state. 
 +  IsegBrightness(4, true, 1);  // Set display brightness and on/off state.
 } }
  
 void loop() { void loop() {
-  IsegDecimal((millis() / 1000UL) % 10000ULtrue); +  IsegDecimal(1234false, 0, 4, 0, 0);  // Display an integer in decimal format. 
-  delay(200);+  IsegHex(0xABCD, false, 0, 4, 0, 1);  // Display an integer in hexadecimal format.
 } }
 </code> </code>
Line 37: Line 38:
   * Do not use the specified pins simultaneously for UART, PWM, encoders, external interrupts or other functions.   * Do not use the specified pins simultaneously for UART, PWM, encoders, external interrupts or other functions.
   * Check the actual module and product manuals for FND power and signal voltages.   * Check the actual module and product manuals for FND power and signal voltages.
 +
 +===== Built-in Commands in the Same Category =====
 +
 +  * [[:en-us_commands:reference:isegbegin|IsegBegin() View detailed description]]
 +  * [[:en-us_commands:reference:isegbrightness|IsegBrightness() View detailed description]]
 +  * [[:en-us_commands:reference:isegclear|IsegClear() View detailed description]]
 +  * [[:en-us_commands:reference:isegwrite|IsegWrite() View detailed description]]
 +  * [[:en-us_commands:reference:iseghex|IsegHex() View detailed description]]
 +  * [[:en-us_commands:reference:isegencodedigit|IsegEncodeDigit() View detailed description]]
  
 [[:en-us_commands:builtin|← Built-in Command List]] [[:en-us_commands:builtin|← Built-in Command List]]
  
en-us_commands/reference/isegdecimal.1788785568.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki