E01X test

This commit is contained in:
Pascal Langer 2018-11-16 09:13:45 +01:00
parent 22711fad28
commit dc902b7a61
3 changed files with 3 additions and 5 deletions

View File

@ -160,10 +160,6 @@ static void __attribute__((unused)) E01X_send_packet(uint8_t bind)
NRF24L01_WriteReg(NRF24L01_07_STATUS, 0x70);
NRF24L01_FlushTx();
// transmit packet twice in a row without waiting for
// the first one to complete, seems to help the hs6200
// demodulator to start decoding.
HS6200_WritePayload(packet, packet_length);
HS6200_WritePayload(packet, packet_length);
// Check and adjust transmission power. We do this after

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 14
#define VERSION_PATCH_LEVEL 15
//******************
// Protocols

View File

@ -618,6 +618,8 @@ void HS6200_WritePayload(uint8_t* msg, uint8_t len)
}
NRF24L01_WritePayload(payload, pos);
delayMicroseconds(option);
NRF24L01_WritePayload(payload, pos);
}
//
// End of HS6200 emulation