Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uart_send(" DYNPD - Enable dynamic payload lengths for six pipes (address 0x");
- uart_send_hex(DYNPD);
- uart_send("; current value 0x");
- reg = nrf_getreg(DYNPD);
- uart_send_hex(reg);
- uart_sendl(")");
- uart_send(" DPL_P0: ");
- uart_sendl(reg & 1<<DPL_P0 ? 1 : 0);
- uart_send(" DPL_P1: ");
- uart_sendl(reg & 1<<DPL_P1 ? 1 : 0);
- uart_send(" DPL_P2: ");
- uart_sendl(reg & 1<<DPL_P2 ? 1 : 0);
- uart_send(" DPL_P3: ");
- uart_sendl(reg & 1<<DPL_P3 ? 1 : 0);
- uart_send(" DPL_P4: ");
- uart_sendl(reg & 1<<DPL_P4 ? 1 : 0);
- uart_send(" DPL_P5: ");
- uart_sendl(reg & 1<<DPL_P5 ? 1 : 0);
- uart_sendl("");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement