Enrico Marinoni
/
0D_NUCLEOL152RE_RemoteIO_TX
Revision 4:84aae2d0c7cf, committed 2017-01-08
- Comitter:
- emcu
- Date:
- Sun Jan 08 15:20:03 2017 +0000
- Parent:
- 3:7dd127b075ed
- Commit message:
- Inserted a new RX routine in TX sw.;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7dd127b075ed -r 84aae2d0c7cf main.cpp --- a/main.cpp Sun Jan 08 11:36:40 2017 +0000 +++ b/main.cpp Sun Jan 08 15:20:03 2017 +0000 @@ -250,7 +250,14 @@ } // END Test the status of the Blue button (TX) ************************ - + + RTX_RX(); // RTX-MID on RX mod + RisultatoRX = TestRX_Data(); + if (RisultatoRX == OK) // OK==ON + myled = ON; + RisultatoRX = TestRX_Data(); + if (RisultatoRX == ACK) // ACK==OFF + myled = OFF; }