Giter Site home page Giter Site logo

Comments (5)

xreef avatar xreef commented on August 28, 2024

Hi,
please tell me your configuration and code.
Bye Renzo

from emailsender.

minhtinn70 avatar minhtinn70 commented on August 28, 2024

Hello, This is the code, the error pointed that " C:\Users\minht\OneDrive\Documents\Arduino\libraries\EMailSender\EMailSender.h:297:25: error: reference to 'File' is ambiguous" which is in file EMailSender.h

I use ESP8266 node MCU, I follow the tutorial of " https://github.com/Neutrino-1/Fitness_Watch ". If you require any further information, let me know. Thanks

This is the all libraries that I use in code

#include "C:\Users\minht\OneDrive\Documents\PlatformIO\Projects\Watch\src\include\main.h"  
void setup()
{
 // put your setup code here, to run once:
  pinMode(navButton, INPUT_PULLUP);
  pinMode(14, OUTPUT);
  attachInterrupt(digitalPinToInterrupt(0), ISR, FALLING);
  Serial.begin(115200);
  Serial.println("Starting...");
  startWiFiManager();
  initDispaly();
  delay(100);
  setupMPU();
  while (wifiConnected())
    ;
  startTime();
  initUI();
  idleTime = millis();
}

void loop()
{
  if (remainingTimeBudget() > 0)
  {
  }

  if (pressed)
  {
    changeFrame();
    pressed = false;
  }

  if (timeStatus() != timeNotSet)
  {
    if (now() != prevDisplay)
    { //update the display only if time has changed
      prevDisplay = now();
      setDisplayTime(digitalClockValue());
      //Serial.println(digitalClockValue());
      // WiFi.mode(WIFI_OFF);
    }
  }

  calculateGraphics();
  if (calculateMotion())
  {
    if (!displayOnStatus)
    {
      onDispaly();
      displayOnStatus = true;
    }
    idleTime = millis();
  }
  else if (!calculateMotion() && displayOnStatus && millis() - idleTime > 15000)
  {
    displayOnStatus = false;
    turnOffDisplay();
    idleTime = millis();
  }

  // put your main code here, to run repeatedly:
}

ICACHE_RAM_ATTR void ISR()
{
  if (!displayOnStatus)
  {
    onDispaly();
    displayOnStatus = false;
  }
  else
  {
    pressed = true;
  }
}

from emailsender.

minhtinn70 avatar minhtinn70 commented on August 28, 2024

Hi, please tell me your configuration and code. Bye Renzo

Hello Renzo, pls reply me.

from emailsender.

xreef avatar xreef commented on August 28, 2024

Sorry I'm on holiday and I can't check it.
Bye Renzo

from emailsender.

xreef avatar xreef commented on August 28, 2024

Hi,
I think that I can't find the problem without building all the projects sorry.
The library EMailSender for esp8266 works correctly.

Try to ask the project creator if He uses some particular version or configuration.
Bye Renzo

from emailsender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.