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
} -
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
}to where are you sending this message? Can you explain what you are trying to do?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login