Table of Contents
Displays and RTC
TM1637 FND
Character LCD
RTC
Displays and RTC
Functions for a TM1637 FND, character LCD, or DS3231 RTC.
TM1637 FND
IsegBegin()
— Sets the CLK/DIO pins and device number of a TM1637 FND display.
IsegBrightness()
— Sets display brightness and visibility.
IsegClear()
— Clears the FND display.
IsegWrite()
— Outputs segment data at the specified position.
IsegDecimal()
— Displays an integer in decimal format.
IsegHex()
— Displays an integer in hexadecimal format.
IsegEncodeDigit()
— Converts one digit to segment data.
Character LCD
IclcdBegin()
— Sets the address and screen dimensions of a PCF8574 character LCD.
IclcdClear()
— Clears the LCD screen.
IclcdHome()
— Moves the cursor to the first position.
IclcdSetCursor()
— Moves the cursor to the specified column and row.
IclcdDisplay()
— Turns the LCD display on or off.
IclcdCursor()
— Shows or hides the cursor.
IclcdBlink()
— Enables or disables cursor blinking.
IclcdBacklight()
— Turns the LCD backlight on or off.
IclcdScrollLeft()
— Shifts the displayed content one position to the left.
IclcdScrollRight()
— Shifts the displayed content one position to the right.
IclcdTextDirection()
— Sets the text entry direction.
IclcdAutoscroll()
— Enables or disables automatic scrolling.
IclcdCreateChar()
— Registers a custom character.
IclcdWrite()
— Outputs a character code or custom character.
IclcdCommand()
— Sends an LCD control command directly.
IclcdPrint()
— Prints a string or number on the LCD.
RTC
IrtcBegin()
— Checks the DS3231 RTC connection and starts using it.
IrtcRead()
— Reads the RTC date and time.
IrtcSet()
— Sets the RTC date and time.
IrtcUnixTime()
— Returns the current time as Unix time.
IrtcGetTemperature()
— Returns the internal RTC temperature.
IrtcTimeValid()
— Checks whether the RTC time is trustworthy.
IrtcClearOscillatorStopFlag()
— Clears the oscillator-stop status flag.
IrtcSetAlarm1()
— Sets alarm 1, including seconds.
IrtcSetAlarm2()
— Sets alarm 2 with minute resolution.
IrtcAlarmEnable()
— Enables or disables the specified alarm.
IrtcAlarmEnabled()
— Checks whether the specified alarm is enabled.
IrtcAlarmTriggered()
— Checks whether an alarm has triggered and optionally clears its status.
IrtcSquareWave()
— Configures the RTC square-wave output.
Irtc32kHz()
— Enables or disables the RTC 32kHz output.
← Built-in function list