Skip to content

Commit c270a9e

Browse files
committed
Setting default values from Config.h
1 parent 7132453 commit c270a9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

EthernetGateway/EthernetGateway.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
#include <avr/progmem.h>
5858

5959
#include <UIPEthernet.h> // Use this if you have attached a Ethernet ENC28J60 shields
60-
//#include <Ethernet.h> // Use this fo WizNET module or Arduino Ethernet Shield
60+
//#include <Ethernet.h> // Use this fo WizNET module and Arduino Ethernet Shield
6161

6262

6363
#define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled
@@ -70,7 +70,7 @@
7070
#define RADIO_TX_LED_PIN 9 // the PCB, on board LED
7171

7272
#define IP_PORT 5003 // The port you want to open
73-
IPAddress myIp (192, 168, 178, 66); // Configure your static ip here
73+
IPAddress myIp (192, 168, 178, 66); // Configure your static ip-address here
7474

7575
// The MAC address can be anything you want but should be unique on your network.
7676
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
@@ -93,7 +93,7 @@ int inputPos = 0;
9393
void setup()
9494
{
9595
// Initialize gateway at maximum PA level, channel 70 and callback for write operations
96-
gw.begin(RF24_PA_MAX, 70, RF24_2MBPS, writeEthernet);
96+
gw.begin(RF24_PA_LEVEL_GW, RF24_CHANNEL, RF24_DATARATE, writeEthernet);
9797

9898
Ethernet.begin(mac, myIp);
9999

0 commit comments

Comments
 (0)