WIFI switch with the ESP8266

7 years 1 month ago #3771 by jonarotz
I finally got a chance to try this code but I keep getting this error

'D0' was not declared in this scope

Please Log in or Create an account to join the conversation.

7 years 1 month ago - 7 years 1 month ago #3772 by swisscore
You can have this problem if you haven't the right board selected

If you want to solve this problem, you can replace D0 by 16 (not D16!!)

Here you have D0 written in the PCB and pin 16

Please Log in or Create an account to join the conversation.

7 years 1 month ago #3773 by jonarotz
I can't even get the code to compile. So I do t think is the issue.

This is the chip I am running
Attachments:

Please Log in or Create an account to join the conversation.

7 years 1 month ago #3784 by EasyIoT

jonarotz wrote:

Here is example with more relays and single ESP8266:
iot-playground.com/blog/2-uncategorised/...ected-4-relay-switch [/quote]

THANK YOU!!!!!![/quote]


We also added some helper function to MQTT library to control EasyIoT configuration.
iot-playground.com/blog/2-uncategorised/...asyiot-cloud-library

With those helper functions you can simplify code to configure EasyIoT Cloud if you are using MQTT. We will prepare some examples with new library.

Please Log in or Create an account to join the conversation.

Time to create page: 0.237 seconds

Forum latest

  • No posts to display.