Hello World. I'll keep it simply this time lol



  • Hello,

    I am trying to send "Hello World" from my wireless sensor to my wireless gateway. If I am using the stock SerialGateway function on my gateway, would the below code send Hello World to it? If not can someone point me in the right direction?

    I took the presentation function out since I am not sending this to my Vera.

    #include <Sensor.h>
    #include <SPI.h>
    #include <EEPROM.h>
    #include <RF24.h>

    #define ID 1
    #define OPEN 1
    #define CLOSE 0
    Sensor gw;

    void setup()
    {
    gw.begin();

    }

    void loop()
    {
    Serial.println("Hello World!");
    delay(10000); // Wait 10 seconds
    }


  • Contest Winner

    @jpaulwhite

    to where are you sending this message? Can you explain what you are trying to do?


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.