nRF24L01P Hello World example for mbed 6

Dependencies:   nRF24L01P

Files at this revision

API Documentation at this revision

Comitter:
wkleunen
Date:
Tue Nov 30 15:33:59 2021 +0000
Parent:
6:18ce87bf9df0
Commit message:
changed pin numbers

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 18ce87bf9df0 -r bf48b7619285 main.cpp
--- a/main.cpp	Thu May 20 12:56:14 2021 +0000
+++ b/main.cpp	Tue Nov 30 15:33:59 2021 +0000
@@ -3,7 +3,7 @@
 
 BufferedSerial pc(USBTX, USBRX); // tx, rx
 
-nRF24L01P my_nrf24l01p(D11, D12, D13, D8, D9, D7);    // mosi, miso, sck, csn, ce, irq
+nRF24L01P my_nrf24l01p(p5, p6, p7, p8, p9, p10);    // mosi, miso, sck, csn, ce, irq
 
 FileHandle *mbed::mbed_override_console(int fd)
 {