Welcome, Guest
Username: Password: Remember me

TOPIC: WIFI switch with the ESP8266

WIFI switch with the ESP8266 1 week 6 days ago #3771

  • jonarotz
  • jonarotz's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
I finally got a chance to try this code but I keep getting this error

'D0' was not declared in this scope
The administrator has disabled public write access.

WIFI switch with the ESP8266 1 week 6 days ago #3772

  • swisscore
  • swisscore's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Karma: 0
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
Last Edit: 1 week 6 days ago by swisscore.
The administrator has disabled public write access.

WIFI switch with the ESP8266 1 week 6 days ago #3773

  • jonarotz
  • jonarotz's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
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:
The administrator has disabled public write access.

WIFI switch with the ESP8266 3 days 18 hours ago #3784

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 808
  • Thank you received: 252
  • Karma: 23
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.
The administrator has disabled public write access.
Time to create page: 0.232 seconds
Powered by Kunena Forum