Start a new topic

Can I make a function in Nextion Advanced?

Can I make a function on nextion advanced?

I would like to create a function that performs the reading in a GPIO and thus change the duty cycle of the PWM (feedback) .

Or import a file with the code on Nextion.

It is possible?

import file - no

make a function on MCU side


I do not think I explained it right ...

Sorry for my bad english.

I'm talking about creating a function inside the nextion editor.

GPIO is Digital 0/1  is 1 bit

Duty cycle is in percent 0 to 100.

  (perhaps consuming up to 7 bits)

But this also isn't a Feature Request