Skip to content

Commit fdcbbba

Browse files
committed
Need to include MySensor.h for gateway examples to work in codebender.
1 parent 5da8d05 commit fdcbbba

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Arduino
22
=======
33

4-
MySensors Arduino Library
4+
MySensors Arduino Library v1.4
55

66
Please visit www.mysensors.org for more information

libraries/MySensors/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
#ifndef Version_h
77
#define Version_h
88

9-
#define LIBRARY_VERSION "1.4b1 (18848a2)"
9+
#define LIBRARY_VERSION "1.4"
1010

1111
#endif

libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@
4545
*/
4646

4747
#include <SPI.h>
48+
#include <MySensor.h>
4849
#include <MyGateway.h>
4950
#include <stdarg.h>
5051

5152
// Use this if you have attached a Ethernet ENC28J60 shields
52-
#include <UIPEthernet.h>
53+
//#include <UIPEthernet.h>
5354

5455
// Use this fo WizNET module and Arduino Ethernet Shield
55-
//#include <Ethernet.h>
56+
#include <Ethernet.h>
5657

5758

5859
#define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled

libraries/MySensors/examples/MQTTGateway/MQTTGateway.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ transform/1on0off.map
9090

9191

9292
#include <SPI.h>
93+
#include <MySensor.h>
9394
#include <MyMQTT.h>
9495
#include <Ethernet.h>
9596

libraries/MySensors/examples/SerialGateway/SerialGateway.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
#include <SPI.h>
25+
#include <MySensor.h>
2526
#include <MyGateway.h>
2627
#include <stdarg.h>
2728

0 commit comments

Comments
 (0)