![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dd
Dependencies: xtoff2 RF24Network mbed
Fork of xtoff3 by
Diff: Ontvanger.h
- Revision:
- 13:f54dfb74247e
- Parent:
- 12:a3dd2ebf8f93
- Child:
- 14:3e69c8a9c730
--- a/Ontvanger.h Mon Mar 12 10:56:50 2018 +0000 +++ b/Ontvanger.h Wed Mar 21 16:22:28 2018 +0000 @@ -25,7 +25,9 @@ // struct payload_t { bool reedsensor; - float milligram; + float gram; + bool messageAvailable; + char messageIndex; }; enum State2 {init_state, @@ -43,7 +45,7 @@ }; struct state_Packet { - State setState; + char setState; }; @@ -60,6 +62,7 @@ payload_t read(); bool isValid(); bool testRPD(); + void printMessage(char index); }; #endif