Start a new topic

screensaver

is there a option for the nextion screen to make a screensaver?

so when your not thousing the screen for +/-10 min. that after that time a screensaver pops on. 

the nextion logo??


The Nextion Instruction Set describes the sleep functions.


sleep=1 // Enter Sleep

sleep=0 // Exit Sleep (auto refresh current page and restore backlight brightness to default value)


dim=50 // Sets the backlight level to 50, but doesn't save it as the backlight power on default value

dims=50 // Sets the backlight level to 50, and saves 50 as the backlight power on default value

dim=dim+10 // increase backlight by 10

dim=dim-10 // decrease backlight by 10


ussp=30 // if there is no serial data after 30 seconds, enter sleep mode  (min 3 sec)

thsp=30 // if there is no touch data after 30 seconds, enter sleep mode  (min 3 sec)


thup=0 // touch operation will not wake up the nextion display, touch coord still sent to serial if sendxy=1

thup=1 // touch operation will wake up the nextion display, touch coord still sent to serial if sendxy=1


sendxy=0 // touch will not send coord data to serial

sendxy=1 // touch will send coord data to serial


IF your Nextion Display is connected to an always running MCU there are enough commands to create some really interesting screensavers.  Sleep mode a-la-carte is pretty effective as well.







2 people like this

I am now reviewing all of the Feature Requests, this will take some time, patience please.

This feature can be achieved via innovative coding

Login or Signup to post a comment