jyberg / Enhanced-Nextion-Library

Enhanced Nextion library for Arduino, NodeMcu, Esp8266,...
MIT License
47 stars 23 forks source link

Vis command #20

Closed douile17 closed 3 years ago

douile17 commented 3 years ago

Hello ,

first thanks for your amazing work , it's just perfect to control an Nextion easily.

But now i have a little problem, i'm try to hide / show an animation if a sensor is HIGH , and my question is : is it possible with your Lib to work with the VIS command from nextion ?

best regards Andrew

jyberg commented 3 years ago

Hi,

NextObject includes your needed functionality: /**

I don't know what component you are using and is there more functional class available for your component but NextObject is general base class with base component functionality so if there in no component specific class you can build you own and define NextObject as base class for it, or use directly NextObject class.

douile17 commented 3 years ago

Hi ,

thank you for this quick answer :) I would like to hide an image with when a sensor is LOW

i will check you solution ;)

thanks a lot !

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le sam. 30 janv. 2021 à 15:17, Jyrki Berg notifications@github.com a écrit :

Hi,

NextObject includes your needed functionality: /**

I don't know what component you are using and is there more functional class available for your component but NextObject is general base class with base component functionality so if there in no component specific class you can build you own and define NextObject as base class for it, or use directly NextObject class.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jyberg/Enhanced-Nextion-Library/issues/20#issuecomment-770219036, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMREKNFTFJQYA7DXKFVDFDS4QIG3ANCNFSM4W2E53HA .