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
J

Jonas

@Jonas
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Send message for another node.
    J Jonas

    @hek
    I am currently trying to send a message from one node to another, but am facing some trouble with it.
    I have two nodes, both of them with Motion Sensors attached to them. I want one node to send a message
    to the other node when there is motion detected. On the other node, the received message should be saved in a variable.
    Looking through other posts I wasn't capable of finding an example I could modify for my purposes. I know there is this function for receiving messages:

    void incomingMessage(const MyMessage &message)

    but how do I continue? Also, how to send a message? Can you pls give me example code for that?

    General Discussion
  • Login

  • Don't have an account? Register

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