I have an arduino 168p and NRF24l01 and I dont know if they will work together. I know that arduino 328p works but I don't know if arduino 168p will work.
The difference between 328P and 168P is the amount of memory available.
Flash memory size:
32K flash vs 16K bytes
eeprom size:
1K vs 512 bytes
SRAM size:
2K vs 1K bytes
So compile your sketch - what does it say about flash & dynamic memory used?
Here are the results for a pretty complex program that reads from SD card and loads the flash of another chip with 328P used to run the sketch
Sketch uses 16628 bytes (51%) of program storage space. Maximum is 32256 bytes.
Global variables use 1373 bytes (67%) of dynamic memory, leaving 675 bytes for local variables. Maximum is 2048 bytes.
It uses 16628 byte of the '32K' program storage space (less the 512 bytes of bootloader space, so 32256, Max byte vs 32768) , means it wouldn't fit on a 168P, which has 16384 bytes (less 512 bytes for the bootloader, so 15872 will be reported as the Max).
Using 1373 bytes of dynamic memory (SRAM) uses more than the 168P has, so that wouldn't fit also.
A smaller program would fit fine.
Linux123123:
I have an arduino 168p and NRF24l01 and I dont know if they will work together. I know that arduino 328p works but I don't know if arduino 168p will work.
It should work fine.
...R