This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /***** Includes *****/ | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include "mxc_device.h" | |
| #include "led.h" | |
| #include "board.h" | |
| #include "mxc_delay.h" | |
| #include <stdint.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef CL_nrf24l01p_H_ | |
| #define CL_nrf24l01p_H_ | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| //-----------| NRF COMMANDS |---------- | |
| #define R_REGISTER 0x00 //must be ORed with a registr address to get correct command value / but since its zero then it really does nothing | |
| #define W_REGISTER 0x20 //must be ORed with a register address to get correct command value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef CL_nrf24l01p_H_ | |
| #define CL_nrf24l01p_H_ | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| //-----------| NRF COMMANDS |---------- | |
| #define R_REGISTER 0x00 //must be ANDed with a registr address to get correct command value / but since its zero then it really does nothing | |
| #define W_REGISTER 0x20 //must be ORed with a register address to get correct command value |