Start a new topic

How to use the io's enhanced display

Hello,

Is there an example for using the IO'S
With an enhanced display

Kind regards,
Marc
1 Comment

There is a YouTube video that showcases the Expansion board.


The Nextion Instruction Set defines the io variables in #19,#20 and #21

https://www.itead.cc/wiki/Nextion_Instruction_Set#Nextion_HMI:_System_Variables_List


and how to configure the gpio using the cfgpio command

https://www.itead.cc/wiki/Nextion_Instruction_Set#cfgpio:_configure_GPIO_-_Enhanced_Model_Only


When configured as digital IO is it a matter of either

reading pio0 as a 1 or 0   such as c0.val=pio0

writing 1 or 0 to pio0        such as pio0=c0.val


I have not really played with the PWM


Login or Signup to post a comment