Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. no matching function for call to 'present(int, mysensors_data_t)'

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

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 27 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maos
    wrote on last edited by
    #1

    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?

    mfalkviddM 1 Reply Last reply
    0
    • M maos

      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?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @maos present wants S_SOMETHING, not V_SOMETHING.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      11

      Online

      11.7k

      Users

      11.2k

      Topics

      113.0k

      Posts


      Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular