Hey. I have a web server set up on my nodeMCU. I want to make a button I can hold down, and when I'm holding it a pin is set to HIGH. Anyone know of a tutorial, or how to do it? ATM I have it set up so it reads from a html file and writes it to the client. Like in this video,at timestamp: Simple Web Server with Arduino Ethernet Shield - YouTube
No problem. In loop You just read the button input and set the output accordingly.
I mean that it is in html so when you press it with mouse it registers
Incoporate mouse support and use the functions supported.