Basic NRF Transmitter on IOT shield.
Fork of kl25Z_nRF_TX by
Revision 1:c5c9925140b7, committed 2016-06-04
- Comitter:
- SIT2016
- Date:
- Sat Jun 04 05:34:31 2016 +0000
- Parent:
- 0:19a03658bf70
- Commit message:
- Basic NRF Transmitter on IOT shield.
Changed in this revision
| Transmitter.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Transmitter.cpp Mon Jun 01 05:20:18 2015 +0000
+++ b/Transmitter.cpp Sat Jun 04 05:34:31 2016 +0000
@@ -3,8 +3,8 @@
Serial pc(USBTX, USBRX); // tx, rx
-nRF24L01P my_nrf24l01p(PTD6, PTE3, PTE2, PTB8, PTB9, PTD0); // mosi, miso, sck, csn, ce, irq
-DigitalOut RedLED(LED1);
+nRF24L01P my_nrf24l01p(PTD2, PTD3, PTD1, PTD0, PTD5, PTD4); // mosi, miso, sck, csn, ce, irq
+DigitalOut RedLED(PTA5);
int main()
{
