no matching function for call to 'present(int, mysensors_data_t)'



  • Hello, after some time, a need rebuild my sketch.
    Now I have this error, I don't now whats is :

    no matching function for call to 'present(int, mysensors_data_t)'

    #define CHILD_ID_MOISTURE 0
    MyMessage msgMoisture(CHILD_ID_MOISTURE, V_LEVEL);

    void presentation()
    {
    sendSketchInfo("TemperatureAndHumidity", "1.1");
    present(CHILD_ID_MOISTURE, V_LEVEL);
    metric = getControllerConfig().isMetric;
    }

    I spent many hours knowing what it is, I can't find the problem.
    Anyone with any tips?


  • Mod

    @maos present wants S_SOMETHING, not V_SOMETHING.


Log in to reply
 

Suggested Topics

  • 6
  • 6
  • 8
  • 6
  • 12
  • 11
  • 55
  • 5

159
Online

9.5k
Users

10.1k
Topics

105.0k
Posts