Skip to content

Commit

Permalink
Made sure that printf is included when printDetails is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Avamander authored May 29, 2020
1 parent 939ca40 commit fcbc804
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/pingpair_dyn/pingpair_dyn.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
#include "printf.h"

//
// Hardware configuration
//

// Set up nRF24L01 radio on SPI bus plus pins 7 & 8

RF24 radio(7,8);
RF24 radio(7, 8);

// sets the role of this unit in hardware. Connect to GND to be the 'pong' receiver
// Leave open to be the 'ping' transmitter
Expand Down Expand Up @@ -87,6 +88,7 @@ void setup(void)
//

Serial.begin(115200);
printf_begin();

Serial.println(F("RF24/examples/pingpair_dyn/"));
Serial.print(F("ROLE: "));
Expand Down

0 comments on commit fcbc804

Please sign in to comment.