Dear members!
I followed the tutorial of the nRF8001, and tried this code:learn.adafruit.com/.../nrf-uart-in-detail
It worked for me just fine, but...
I have an existing metal detector code for Arduino UNO that uses Timer0 and Timer1 and interrupts. just the metal detector alone also works fine.
Than I tried to merge the metal detector's code with the nRF8001 tutorial code, you can take a look at the result here: http://pastebin.com/eQAR6h6V
So my problem is that this is not working when they are merged, maybe some timer conflict? How can I set Timer2 to the SCK pin? Or something else is the problem? Once again, they worked individually just fine, but together...not.
This project is due 05-09 midnight, so its quite urgent, any help is appreciated!
Regards, TreasureHunter