I have a NodeMCU and a website (free website domain provided by http://www.hpage.com) and I have to send and receive some data (suppose a 8bit number) from the website to the NodeMCU via internet. The NodeMCU is connected to internet through WiFi hotspot of an Android phone.
- Can anyone provide an example code? How can I address the NodeMCU from the website?
- Does the NodeMCU need to be a server or just a client?
Thanks in advance for kind help.