====== Displays and RTC ====== Functions for a TM1637 FND, character LCD, or DS3231 RTC. ===== TM1637 FND ===== * [[:en-us_commands:reference:isegbegin|IsegBegin()]] — Sets the CLK/DIO pins and device number of a TM1637 FND display. * [[:en-us_commands:reference:isegbrightness|IsegBrightness()]] — Sets display brightness and visibility. * [[:en-us_commands:reference:isegclear|IsegClear()]] — Clears the FND display. * [[:en-us_commands:reference:isegwrite|IsegWrite()]] — Outputs segment data at the specified position. * [[:en-us_commands:reference:isegdecimal|IsegDecimal()]] — Displays an integer in decimal format. * [[:en-us_commands:reference:iseghex|IsegHex()]] — Displays an integer in hexadecimal format. * [[:en-us_commands:reference:isegencodedigit|IsegEncodeDigit()]] — Converts one digit to segment data. ===== Character LCD ===== * [[:en-us_commands:reference:iclcdbegin|IclcdBegin()]] — Sets the address and screen dimensions of a PCF8574 character LCD. * [[:en-us_commands:reference:iclcdclear|IclcdClear()]] — Clears the LCD screen. * [[:en-us_commands:reference:iclcdhome|IclcdHome()]] — Moves the cursor to the first position. * [[:en-us_commands:reference:iclcdsetcursor|IclcdSetCursor()]] — Moves the cursor to the specified column and row. * [[:en-us_commands:reference:iclcddisplay|IclcdDisplay()]] — Turns the LCD display on or off. * [[:en-us_commands:reference:iclcdcursor|IclcdCursor()]] — Shows or hides the cursor. * [[:en-us_commands:reference:iclcdblink|IclcdBlink()]] — Enables or disables cursor blinking. * [[:en-us_commands:reference:iclcdbacklight|IclcdBacklight()]] — Turns the LCD backlight on or off. * [[:en-us_commands:reference:iclcdscrollleft|IclcdScrollLeft()]] — Shifts the displayed content one position to the left. * [[:en-us_commands:reference:iclcdscrollright|IclcdScrollRight()]] — Shifts the displayed content one position to the right. * [[:en-us_commands:reference:iclcdtextdirection|IclcdTextDirection()]] — Sets the text entry direction. * [[:en-us_commands:reference:iclcdautoscroll|IclcdAutoscroll()]] — Enables or disables automatic scrolling. * [[:en-us_commands:reference:iclcdcreatechar|IclcdCreateChar()]] — Registers a custom character. * [[:en-us_commands:reference:iclcdwrite|IclcdWrite()]] — Outputs a character code or custom character. * [[:en-us_commands:reference:iclcdcommand|IclcdCommand()]] — Sends an LCD control command directly. * [[:en-us_commands:reference:iclcdprint|IclcdPrint()]] — Prints a string or number on the LCD. ===== RTC ===== * [[:en-us_commands:reference:irtcbegin|IrtcBegin()]] — Checks the DS3231 RTC connection and starts using it. * [[:en-us_commands:reference:irtcread|IrtcRead()]] — Reads the RTC date and time. * [[:en-us_commands:reference:irtcset|IrtcSet()]] — Sets the RTC date and time. * [[:en-us_commands:reference:irtcunixtime|IrtcUnixTime()]] — Returns the current time as Unix time. * [[:en-us_commands:reference:irtcgettemperature|IrtcGetTemperature()]] — Returns the internal RTC temperature. * [[:en-us_commands:reference:irtctimevalid|IrtcTimeValid()]] — Checks whether the RTC time is trustworthy. * [[:en-us_commands:reference:irtcclearoscillatorstopflag|IrtcClearOscillatorStopFlag()]] — Clears the oscillator-stop status flag. * [[:en-us_commands:reference:irtcsetalarm1|IrtcSetAlarm1()]] — Sets alarm 1, including seconds. * [[:en-us_commands:reference:irtcsetalarm2|IrtcSetAlarm2()]] — Sets alarm 2 with minute resolution. * [[:en-us_commands:reference:irtcalarmenable|IrtcAlarmEnable()]] — Enables or disables the specified alarm. * [[:en-us_commands:reference:irtcalarmenabled|IrtcAlarmEnabled()]] — Checks whether the specified alarm is enabled. * [[:en-us_commands:reference:irtcalarmtriggered|IrtcAlarmTriggered()]] — Checks whether an alarm has triggered and optionally clears its status. * [[:en-us_commands:reference:irtcsquarewave|IrtcSquareWave()]] — Configures the RTC square-wave output. * [[:en-us_commands:reference:irtc32khz|Irtc32kHz()]] — Enables or disables the RTC 32kHz output. [[:en-us_commands:builtin|← Built-in function list]]