![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dd
Dependencies: xtoff2 RF24Network mbed
Fork of xtoff3 by
Diff: Ontvanger.h
- Revision:
- 11:77018fac195e
- Parent:
- 10:0a4c465f7838
- Child:
- 12:a3dd2ebf8f93
--- a/Ontvanger.h Fri Mar 09 08:26:00 2018 +0000 +++ b/Ontvanger.h Fri Mar 09 12:22:27 2018 +0000 @@ -10,13 +10,19 @@ #define spi_MOSI p5 #define spi_MISO p6 +#ifdef PRINT_ENABLE + #define IF_PRINT_ENABLE(x) ({x;}) + #else + #define IF_PRINT_ENABLE(x) + #endif + + +//Identification verzender/ontvanger const uint16_t this_node = 00; const uint16_t other_node = 01; - - - +// struct payload_t { bool reedsensor; float milligram;