Start a new topic

Replacing button push?

In my code i have something like this on my arduino If (button1 =pressed) Counter1++ If (counter1 == 3) Counter1 =0 Then switch statements. So i wanna switch the button1 = pressed with a Void popbutton (the button press from nextion) How would i go about that well keeping all my if statement intact?
1 Comment

An erie silence is heard whistling through the air.

Tumbleweed blows past and cobwebs are everywhere.

 

You begin to notice almost every thread states:

This forum is closed since Nov 15, 2017

 

Use the new forum at nextion.itead.cc

it has been open since September 2017.