Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 2
    This looks like it's nothing to do with structs; this appears to be about the RadioHead packet radio library (which you never mention). When using a library you need to tell people what library you're using and give them an idea of what you're trying to do. I would also guess that you have some sort of hardware hooked up to pins 2 and 5 on the Arduino that you're keeping secret from us to make the question harder to answer. Commented Apr 18, 2017 at 0:44
  • 5
    try short int instead of int in the struct (looks like int's are 32bit in esp8266 and 16bit in arduino boards? perhaps? - For portability use uint16_t and int16_t for ints - github.com/mysensors/MySensors/issues/223 Commented Apr 18, 2017 at 3:19
  • 1
    note: 263145 = 1001 + 4 * 65536 Commented Apr 18, 2017 at 3:27
  • 1
    Awesome! You are my hero, I will dress like you when I go to comic-con Jaromanda X Commented Apr 18, 2017 at 6:10
  • 1
    @Thijs - note: I seriously do look like Glen Quagmire :p Commented Apr 19, 2017 at 0:07