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. Troubleshooting
  3. MyMessage::getInt() (v1.5) gives wrong value

MyMessage::getInt() (v1.5) gives wrong value

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 405 Views 1 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.
  • S Offline
    S Offline
    Saâd Benmansour
    wrote on last edited by
    #1

    Hello,

    I just experienced the strangest of behaviours from version 1.5 of the library : getInt() behaves different whether it's compiled with arduino IDE (on Windows) or Codebender (soon to RIP).
    From the gateway I send a V_TEMP of 23° to two nodes having the same ID. On the Codebender compiled one getInt() returns 23 as expected, but on the arduino compiled one it gives 230 ! Exact same sketch and libraries used.

    I read about a similar issue on the github but this doesn't seem to be my case.

    I know 1.5 is now old and I should move on to v2.0 but I have a whole home network of sensors I would have to upgrade and well ... I'll do it tomorrow :)

    I suspect it has something to do with the OS environment and how the compiling toolchain works on it but I don't have the knowledge to dig deeper.

    Please help.

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


    12

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 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