From a3a0eeca19a7262c12030d0c6014e5e7b8f87849 Mon Sep 17 00:00:00 2001 From: Yves Ehrlich Date: Sun, 12 Jan 2020 18:18:26 +0100 Subject: [PATCH] Pinzuordnungen ergaenzt --- Arduino/receiver_code/receiver_code.ino | 4 ++-- Arduino/transmitter_code/transmitter_code.ino | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Arduino/receiver_code/receiver_code.ino b/Arduino/receiver_code/receiver_code.ino index 0eab911..93197a2 100644 --- a/Arduino/receiver_code/receiver_code.ino +++ b/Arduino/receiver_code/receiver_code.ino @@ -2,7 +2,7 @@ #include #include -RF24 radio(3, 2); // CE, CSN +RF24 radio(A0, 3); // CE, CSN const byte address[6] = "00001"; @@ -21,7 +21,7 @@ void loop() { radio.read(&text, sizeof(text)); - Serial.print("recieved: "); + Serial.print("received: "); Serial.println(text); } } diff --git a/Arduino/transmitter_code/transmitter_code.ino b/Arduino/transmitter_code/transmitter_code.ino index d248420..d31b733 100644 --- a/Arduino/transmitter_code/transmitter_code.ino +++ b/Arduino/transmitter_code/transmitter_code.ino @@ -2,7 +2,7 @@ #include #include -RF24 radio(3, 2); // CE, CSN +RF24 radio(A2, A3); // CE, CSN const byte address[6] = "00001";