debug nrf24 on longan nano

This commit is contained in:
acevest
2020-04-14 07:36:45 +08:00
parent 5e87b05e0c
commit 81cf6f0c23
5 changed files with 60 additions and 41 deletions

View File

@@ -248,6 +248,13 @@ uint8_t nrf_hal_test_rx() {
nrf_delay(200);
while(1) {
nrf_hal_write_reg_byte(REG_CONFIG, _BV(EN_CRC));
nrf_hal_read_reg_byte(REG_CONFIG, &data);
nrf_delay(100);
}
nrf_set_standby_mode();