Avatar
Nrf24 basic
Jan 04th, 2020 | by: Electro Maker | Views 623
Views 623
I have got video about NRF24 on my channel Electro Maker. In this video you will see how to make NRF24 shield and test for NRF24 communication. I learned working with NRF24 with help of Electronoobs's codes so Electronoobs thank you so much for it. :) 
Please subscribe to my channel Electro Maker. Thank you.
Schematic and codes

You have schematic and code here.


#include <SPI.h>
#include <nRF24L01.h>            
#include <RF24.h>            
const uint64_t pipeOut = 0xE8E8F0F0E1LL;
RF24 radio(7, 8); 

struct MyData {
  byte pot_value;    
};

MyData data;

void resetData() {
  data.pot_value = 0;    
}


0 Comments

Login or Sign Up to post comments on this tutorial.