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
SandeshHs94S

SandeshHs94

@SandeshHs94
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • writing a code for 2 relays with 2 buttons and actuators
    SandeshHs94S SandeshHs94

    I'm so sorry for such late reply... the reason i wanted no for loop was to see how the code for that would turn out...

    I have a project in mind with requires maybe 2 switches and if one is turned on then regardless of the message coming from controller for the second light it should stay off...

    Development

  • writing a code for 2 relays with 2 buttons and actuators
    SandeshHs94S SandeshHs94

    amazing.. thanks a lot but what about if i have to combine relayActuatorWithButton and
    relayActuator..
    do you have any code for that?
    and please explain what this line means and how it works..
    digitalWrite(message.sensor-1+RELAY_1, message.getBool()?RELAY_ON:RELAY_OFF);

    and how i can make the combination work without a for loop

    Thank you

    Development

  • writing a code for 2 relays with 2 buttons and actuators
    SandeshHs94S SandeshHs94

    i want to add two buttons and two relays, i dont understand on how to combine them.

    I am having trouble with the incomingMessage function. The relay with Actuator example works fine but it does not have a button, what if i want a button or if i have relays on non-consecutive pins.

    i tried writing two functions for incoming message and it was just a foolish idea and i'm stuck.

    how do i get it to work.. please help..

    Development

  • Serial Gateway.. Help!!
    SandeshHs94S SandeshHs94

    Guys,
    I am completely new to mysensors and to date i feel this is the best approach, i dont understand a few basics, please answer to these questions.(I want to use serial gateway)

    1)If i use arduino uno instead of mini/nano as given in sketch, should i be changing anything in the code given.

    2)If i ad any new sensor should i add anything in gateway code for it to receive data or send data.

    3)Can i add a sensor to gateway module itself.

    4)If i choose to write a new code which is not in examples, how can i do it. is there any programming guide.

    i would really appreciate if anyone can provide a complete guide link. I am sorry for such questions, i really need these answers.
    Thank you

    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