hi I want to know my connection error or code error
I try to hx711 and nrf24l01 connection and receive hx711 value through wireless module nrf24l01
When I use only nrf24l01 and below code, I can receive hello world.
but when I use both nrf24l01 and hx711 and below code, I can't receive any word.
Any value, I can't recieve.
So I want to know why I can't recieve value at second case.
Is it connection error ?
I think when it is success, I can receive hx711 double value through nrf24l01 using nrf24l01 + hx711code
I need your help... please reply about it
I attach my transmission and receive code
Attached picture is my connection with line
<<<<<<>>>>>>>>>>
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
RF24 radio(7,8);
const byte address[6] = "00001"; //
void setup() {
radio.begin();
radio.openWritingPipe(address);
radio.setPALevel(RF24_PA_MIN);
radio.stopListening();
}
void loop() {
const char text[] = "Hello World";
radio.write(&text, sizeof(text));
delay(1000);
}
<<<<<<<<<<수신>>>>>>>>>>>
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
RF24 radio(7,8);
const byte address[6] = "00001";
void setup() {
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(0, address);
radio.setPALevel(RF24_PA_MIN);
radio.startListening();
}
void loop() {
if (radio.available()) {
char text[32] = "";
radio.read(&text, sizeof(text));
Serial.println(text);
}
}