====== IsegClear() ====== ''IsegClear()'' clears the FND display. {{:en-us_commands:reference:isegclear.svg?900|IsegClear command operation flow}} ''bool IsegClear(uint8_t device = 0)'' ===== Commands ===== ^ Command ^ Arguments ^ Return Value ^ Operation ^ | ''IsegClear(device)'' | ''uint8_t device = 0'' — FND device number ''0~6'', defaults to ''0'' | ''bool'' | Clears the FND display. | ===== Example ===== void setup() { IsegBegin(14, 15); // MPAINO: TXD(D14), RXD(D15) IsegBrightness(7); // Set display brightness and on/off state. IsegClear(); // Clear the FND display. } void loop() { IsegDecimal((millis() / 1000UL) % 10000UL, true); // Display an integer in decimal format. delay(200); } ===== Precautions ===== * These commands are only for 4-digit FND displays with a TM1637 IC. They do not directly drive a generic multiplexed FND display. * Use display commands after successfully calling ''IsegBegin()''. * Initialization fails if CLK and DIO use the same pin, or if the device number is ''7'' or higher. * ''length + position'' must be 4 or less. Numbers outside the range are not displayed, and ''false'' is returned. * Communication may block execution for several ms. Do not call this from an interrupt service routine. * 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. ===== 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:isegwrite|IsegWrite() View detailed description]] * [[:en-us_commands:reference:isegdecimal|IsegDecimal() 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]]