Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- // Start up
- nRF905_init();
- // Set address of this device
- // Read in 4 bytes from EEPROM
- byte addr[4];
- for(byte i=0;i<4;i++)
- {
- byte val = EEPROM.read(i);
- addr[i] = val;
- }
- nRF905_setRXAddress(addr);
- // Put into receive mode
- nRF905_receive();
- Serial.begin(9600);
- Serial.println(F("Client started"));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement