Skip to content

NexScreen #43

@kosza

Description

@kosza

I have created some missing control function for display.

/**
* Set the brightness of the display.
*
* @param buffer - number (0 - 100).
*/
bool setBrightness(byte buffer);
/**
* Set Nextion sleep mode.
*/
bool Sleep();
/**
* Set Nextion awake mode.
*/
bool Wakeup();
/**
* Set Auto Wake on Touch.
*
* @param buffer - number, 0 (do not wake), 1 (wake on touch), default 0.
*/
bool setAutoWakeup(byte buffer);
/**
* Set Sleep on No Touch.
*
* @param buffer - number of second, 3 - 65535, default 0 (means no timeout)
*/
bool setScreenTouchTimeout(int buffer);

Arduino_Nextion-Screen.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions