Using ESP8266 for controlling through Arduino

0 votes

I want to trigger event on button click.

webpage += "Click <a href=\"/H\">here</a> Ligar a led<br>";
webpage += "Click <a href=\"/L\">here</a> Desligar a led <br>";

On ESP without Arduino I can do it using "endsWith", but I don't know how to do it with Arduino and ESP.

Does the function "esp8266.find("H")" work?

Sep 11, 2018 in IoT (Internet of Things) by Matt
• 2,270 points
811 views

1 answer to this question.

0 votes

Please explain better your problem.

In Arduino-Esp8266 String have the endsWith.

Example:

String test = "AAAAAH";
if (test.endsWith("H")) {
    //...
}
answered Sep 11, 2018 by anonymous2
• 4,240 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Arduino to pubnub cloud using esp8266

With the ESP8266, it always better to ...READ MORE

answered Oct 27, 2018 in IoT (Internet of Things) by Siddhant
• 210 points
1,043 views
0 votes
1 answer
0 votes
1 answer

Sending more than 8 byte through UART on Raspberry Pi using Android Things!

So, you can send 234212441325454543595674859764 in ASCII, ...READ MORE

answered Aug 25, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,309 views
0 votes
1 answer

Sample Program for using IoT Hub DM API

That's because the DM additions are placed ...READ MORE

answered Aug 28, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
756 views
0 votes
1 answer
0 votes
1 answer

MQTT on ESP8266 with NodeMCU - problems with publishing

Perhaps this was solved by more recent ...READ MORE

answered Aug 13, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
2,032 views
0 votes
1 answer

Implementing MQTT for a building

I'm not really sure if its possible ...READ MORE

answered Aug 29, 2018 in IoT (Internet of Things) by anonymous
571 views
0 votes
1 answer

How to send a data from arduino uno to a webpage through esp8266 wifi module?

You are missing a few \r\n and the length ...READ MORE

answered Aug 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
3,670 views
0 votes
1 answer

Azure - What service to use for Arduino data (iot)

That's because the two services do completely ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,062 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP