Couple of edits...

This commit is contained in:
pascallanger
2016-01-24 17:15:02 +01:00
parent 644c10e994
commit 5d26357025
5 changed files with 9 additions and 10 deletions

View File

@@ -199,7 +199,7 @@ uint16_t CX10_callback() {
NRF24L01_SetTxRxMode(TXRX_OFF);
NRF24L01_SetTxRxMode(TX_EN);
CX10_Write_Packet(1);
delay(1); // used to be 300µs in deviation but not working so 1ms now
delayMicroseconds(400); // 300µs in deviation but not working so using 400µs instead
// switch to RX mode
NRF24L01_SetTxRxMode(TXRX_OFF);
NRF24L01_FlushRx();