Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. cadet
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by cadet

    • cadet

      [SOLVED] Raspberry PI gateway
      Troubleshooting • • cadet  

      4
      0
      Votes
      4
      Posts
      912
      Views

      Yveaux

      @cadet Great to hear you solved it and thanks for the feedback!
    • cadet

      LCD Node - display temp from other sensor - How?
      My Project • • cadet  

      8
      0
      Votes
      8
      Posts
      3397
      Views

      Boots33

      @cadet You can send on the fly if you like, the message bellow is for a binary switch but the format is the same. You would need to use V_TEMP instead of V_STATUS and put the temp in the .set at the end To receive, using your code as an example void receive(const MyMessage &message) { if (message.type == V_TEMP) { temper = message.getFloat(); //put code here to be executed when the return from the request arrives Serial.print(temper); lcd.setCursor(2, 3); lcd.print(temper); } } And temper would need to be declared as a float of course.