Maniacbug's RF24 arduino library ported to mbed. Tested, it works for Nucleo F411

Dependents:   RF24Network_Send RF24Network_Receive WeatherStation maple_chotobot_rf_motores ... more

Files at this revision

API Documentation at this revision

Comitter:
akashvibhute
Date:
Thu Jun 16 08:56:06 2016 +0000
Parent:
6:5cc7136648d1
Child:
9:ef74df512fed
Commit message:
diabled printing of debug data on startup

Changed in this revision

RF24_config.h Show annotated file Show diff for this revision Revisions of this file
--- a/RF24_config.h	Thu Apr 21 04:10:58 2016 +0000
+++ b/RF24_config.h	Thu Jun 16 08:56:06 2016 +0000
@@ -49,14 +49,16 @@
 #define IF_SERIAL_DEBUG(x)
 #endif
 
-#define printf_P printf
+//#define printf_P printf
+#define printf_P
 //#define _BV(bit) (1<<(bit))
 #define pgm_read_byte(addr) (*(const unsigned char *)(addr))
 
 typedef uint16_t prog_uint16_t;
 #define PSTR(x) (x)
   #define sprintf(...) os_sprintf( __VA_ARGS__ )
-  #define printf_P printf
+  //#define printf_P printf
+  #define printf_P
   #define strlen_P strlen  
   #define PROGMEM
   #define pgm_read_byte(addr) (*(const unsigned char *)(addr))