hi yes I’m getting this error message for my code
I’m sorry if I posted this coder wrong this is my first time using the Arduino and this is also my first time working on an Arduino project so please bear with me
this is my code #include <fauxmoESP.h>
#include <AsyncPrinter.h>
#include <async_config.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncTCPbuffer.h>
#include <SyncClient.h>
#include <tcp_axtls.h>
#include <dummy.h>
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include “fauxmoESP.h”
#include <Servo.h>
/* Network credentials /
#define WIFI_SSID ""
#define WIFI_PASS "*"
#define SERIAL_BAUDRATE 115200 //this is important to set in the Arduino IDE
bool resetMe=false;
int beginVal=0;
/* Belkin WeMo emulation */
fauxmoESP fauxmo;
Servo myservo; // create servo object to control a servo
void setup()
{
Serial.begin(SERIAL_BAUDRATE);
//setup and wifi connection
wifiSetup();
pinMode(D4, OUTPUT);
myservo.attach(2);
beginVal = myservo.read();
// Device Names for Simulated Wemo switches
fauxmo.addDevice(“finger”);
fauxmo.onMessage(callback);
}
void loop()
{
if(resetMe){
delay(1000);
Serial.println(“reset the servo”);
myservo.write(0);
resetMe=false;
}
fauxmo.handle();
}
/* ---------------------------------------------------------------------------
Device Callback
----------------------------------------------------------------------------*/
void callback(uint8_t device_id, const char * device_name, bool state)
{
Serial.print("Device “); Serial.print(device_name);
Serial.print(” state: ");
if (state)
{
Serial.println(“ON”);
}
else
{
Serial.println(“OFF”);
}
//Switching action on detection of device name, useful for adding
//multiple “devices” to a single ESP unit.
if ( (strcmp(device_name, “finger”) == 0) )
{
if (state)
{
int newVal = beginVal+15;
myservo.write(newVal);
resetMe=true;
Serial.println(“ok”);
} else{
myservo.write(beginVal);
}
}
}
void moveServo(int val){
Serial.println(“moveServo”);
//if you need to scale from a potentiometer to use it with the servo (value between 0 and 180)
//val = map(val, 0, 1023, 0, 180);
myservo.write(val);
}
/* -----------------------------------------------------------------------------
Wifi Setup
-----------------------------------------------------------------------------*/
void wifiSetup()
{
// Set WIFI module to STA mode
WiFi.mode(WIFI_STA);
// Connect
Serial.println ();
Serial.printf("[WIFI] Connecting to %s ", WIFI_SSID);
Serial.println();
WiFi.begin(WIFI_SSID, WIFI_PASS);
// Wait
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(100);
}
Serial.print(" ==> CONNECTED!" );
Serial.println();
// Connected!
Serial.printf("[WIFI] STATION Mode, SSID: %s, IP address: %s\n", WiFi.SSID().c_str(), WiFi.localIP().toString().c_str());
Serial.println();
‘}’