mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-05 21:21:02 +00:00
E01X test
This commit is contained in:
parent
22711fad28
commit
dc902b7a61
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user