Send DHT11 & SHT10 sensors data through LoRa SX1272 board.
Fork of SX1272PingPong by
Revision 23:5e58cd413573, committed 2017-03-29
- Comitter:
- Antoine38
- Date:
- Wed Mar 29 12:59:56 2017 +0000
- Parent:
- 22:6d4464ff7b32
- Commit message:
- Fix some display
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 28 14:47:28 2017 +0000 +++ b/main.cpp Wed Mar 29 12:59:56 2017 +0000 @@ -98,7 +98,10 @@ } wait_ms( 10 ); Radio.Send( Buffer, BufferSize ); + led = 1-led; + + // Wait 3 seconds before resend a message wait(3); } } @@ -107,6 +110,7 @@ { Radio.Sleep( ); debug_if( DEBUG_MESSAGE, "> OnTxDone\n\r" ); + debug_if( DEBUG_MESSAGE, "Message: %s \r\nLenght: %d \r\n", (char *) Buffer, msglen); } void OnTxTimeout( void )