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,260 points
43 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,260 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 26, 2018 in IoT (Internet of Things) by Siddhant
• 210 points
113 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 24, 2018 in IoT (Internet of Things) by nirvana
• 3,040 points
62 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,040 points
17 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,260 points
166 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
20 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,260 points
1,020 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,260 points
54 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.