tak jsem to zkoušel a stále s tím bojuji

stále se mě hodnoty přepisují jak chtějí, hlavně nevím jak zjistím tu "pipe" když dám (0,pipe[1]])ukaze me to 0 a , ale nijek v tom výčtu se mě to nechce přepnout na jiné pipe....
zde je kod, asi tam mám něco špatně
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <Wire.h>
#define DEBUG
#include <Adafruit_GFX_AS.h> // Core graphics library
#include <Adafruit_ILI9341_8bit_AS.h> // Hardware-specific library
#define LCD_CS A3 // Chip Select goes to Analog 3
#define LCD_CD A2 // Command/Data goes to Analog 2
#define LCD_WR A1 // LCD Write goes to Analog 1
#define LCD_RD A0 // LCD Read goes to Analog 0
#define LCD_RESET A4 // Can alternately just connect to Arduino's reset pin
// Assign human-readable names to some common 16-bit color values:
#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define WHITE 0xFFFF
Adafruit_ILI9341_8bit_AS tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);
RF24 radio(40, 53);
const uint64_t pipes[4] = { 0xF0F0F0F0E1LL, 0xF0F0F0F0E2LL, 0xF0F0F0F0E3LL, 0xF0F0F0F0E4LL };
float pokoj, loznice, last_temp, kuchyn_temp, kuchyn_vlh, last_temp1, last_temp2 , last_vlh1;
unsigned char pipe_num;
void setup(void) {
#ifdef DEBUG
Serial.begin(9600);
Serial.print("TFT velikost je ");
Serial.print(tft.width());
Serial.print(" x ");
Serial.println(tft.height());
#endif // DEBUG
tft.reset();
tft.begin(0x9341);
tft.fillScreen(BLACK);
tft.setRotation(3);
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(0, pipes[1]);
radio.openReadingPipe(1, pipes[2]);
radio.openReadingPipe(2, pipes[3]);
radio.startListening();
}
void loop(void)
{
radio.read(&pokoj, sizeof(pokoj));
if (pipe_num == 0)
{
tft.setTextSize(3);
tft.setCursor(0, 25);
tft.print("Teploty v byte");
tft.setTextSize(4);
tft.setTextColor(YELLOW, BLACK);
tft.setCursor(190, 70);
tft.print(last_temp);
tft.setCursor(0, 70);
tft.print("Pokoj");
tft.setCursor(190, 70);
tft.print(pokoj);
last_temp = pokoj;
}
delay(15);
radio.read(&loznice, sizeof(loznice));
if (pipe_num == 1)
{
tft.setTextColor(YELLOW, BLACK);
tft.setCursor(190, 105);
tft.print(last_temp1);
tft.setCursor(0, 105);
tft.print("Loznice");
tft.setCursor(190, 105);
tft.print(loznice);
last_temp1 = loznice;
}
delay(15);
radio.read(&kuchyn_temp, sizeof(kuchyn_temp));
radio.read(&kuchyn_vlh, sizeof(kuchyn_vlh));
if (pipe_num == 2)
{
tft.setTextColor(GREEN, BLACK);
tft.setCursor(190, 140);
tft.print(kuchyn_temp);
tft.setCursor(0, 140);
tft.print("Kuchyn1");
tft.setCursor(0, 175);
tft.print("Kuchyn2");
tft.setCursor(190, 175);
tft.print(kuchyn_vlh);
last_temp2 = kuchyn_temp;
last_vlh1 = kuchyn_vlh;
}
delay(10000);
}