We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_
void nrf24l01p_rx_receive(uint8_t* rx_payload) { nrf24l01p_read_rx_fifo(rx_payload); nrf24l01p_clear_rx_dr(); HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_13); }
void nrf24l01p_rx_receive(uint8_t* rx_payload) { nrf24l01p_read_rx_fifo(rx_payload); nrf24l01p_clear_rx_dr();
HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_13);
}
void nrf24l01p_tx_irq() { uint8_t tx_ds = nrf24l01p_get_status(); tx_ds &= 0x20; if(tx_ds) { // TX_DS HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_13); nrf24l01p_clear_tx_ds(); } else { // MAX_RT HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, SET); nrf24l01p_clear_max_rt(); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
_
_
_
_
The text was updated successfully, but these errors were encountered: