Navigation

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

    nonobike

    @nonobike

    0
    Reputation
    1
    Posts
    291
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    nonobike Follow

    Best posts made by nonobike

    This user hasn't posted anything yet.

    Latest posts made by nonobike

    • Door, Window and Push-button Sensor

      Bonjour

      j'utilise le code donné dans exemple mais je souhaiterai avoir QUATRES info porte ouverte
      mais quand je modifie le code plus rien ne marche

      #define CHILD_ID 3
      #define BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch

      MySensor gw;
      Bounce debouncer = Bounce();
      int oldValue=-1;

      merci de votre aide !

      pour les relais la programmation est facile :

      #define RELAY_1 3 // Arduino Digital I/O pin number for first relay (second on pin+1 etc)
      #define NUMBER_OF_RELAYS 1 // Total number of attached relays
      #define RELAY_ON 1 // GPIO value to write to turn on attached relay
      #define RELAY_OFF 0 // GPIO value to write to turn off attached relay

      posted in Development
      nonobike
      nonobike