..

Dependencies:   mbed nRF24L01P

Fork of kl25Z_nRF_TX by Eduvance SIT2017

Revision:
2:f997cca1c3e0
Parent:
1:c5c9925140b7
--- a/Transmitter.cpp	Sat Jun 04 05:34:31 2016 +0000
+++ b/Transmitter.cpp	Thu Feb 09 11:01:19 2017 +0000
@@ -14,7 +14,7 @@
 
 
     my_nrf24l01p.powerUp();
-    my_nrf24l01p.setRfFrequency(2410);
+    my_nrf24l01p.setRfFrequency(2408);
 
     // Display the (default) setup of the nRF24L01+ chip
     pc.printf( "nRF24L01+ Frequency    : %d MHz\r\n",  my_nrf24l01p.getRfFrequency() );
@@ -39,7 +39,6 @@
         temp = my_nrf24l01p.write( NRF24L01P_PIPE_P0,count, TxDataCnt );
 
         pc.printf( "Sending %d - %d %d\r\n",temp,count[0],count[1]);
-
         // Toggle LED1 (to help debug Host -> nRF24L01+ communication)
         RedLED = !RedLED;
             
@@ -47,4 +46,4 @@
         
         wait(1);
     }
-}
+}
\ No newline at end of file