IoT - Kubus / Mbed 2 deprecated Kubus

Dependencies:   mbed nRF24L01P

Revision:
5:fbd5b1e953e6
Parent:
4:aa25f65395e3
Child:
6:98401b545e0c
--- a/pir1_sensor.cpp	Thu Jan 05 10:47:42 2017 +0000
+++ b/pir1_sensor.cpp	Thu Jan 05 11:05:03 2017 +0000
@@ -1,11 +1,11 @@
+#include "mbed.h"
+
 #include "common.h"
-#include "mbed.h"
-#include "nRF24L01P.h"
 
 // ***** SETTINGS START *****
 
-const unsigned long long RX_ADDRESS = MASTER_ADDRESS;
-const unsigned long long TX_ADDRESS = PIR1_ADDRESS;
+const unsigned long long RX_ADDRESS = PIR1_ADDRESS;
+const unsigned long long TX_ADDRESS = MASTER_ADDRESS;
 const double SEND_INTERVAL = 5.0;
 const uint8_t SENSOR_ID = PIR1;