Songw Jiang / nRF24L01P

Dependents:   RC_Green Drown RC_RX

Revision:
6:a0e847d59312
Parent:
5:d0c9b8b5cf75
Child:
7:fa987efaeecd
--- a/nRF24L01P.cpp	Tue Dec 10 02:01:33 2019 +0000
+++ b/nRF24L01P.cpp	Tue Dec 10 02:14:48 2019 +0000
@@ -23,7 +23,10 @@
 {
 	TX_ADDRESS[4]=TxAdd&0xFF;
 }
-void nRF24L01P::enable(){}
+void nRF24L01P::enable()
+{
+	NRF24L01_Init(40,1);
+}
 
 
 uint8_t nRF24L01P::NRF_Read_Reg(uint8_t reg)