I got this error using MikroC "Reentrancy not allowed function[Spi_Write] called in both main and interrupt threads". I used PIC16F873 and having the SPI communication at the moment.
Why do I get this problem? How will I solve this? I really have to call some functions inside the interrupt to perform some task.
Why do I get this problem? How will I solve this? I really have to call some functions inside the interrupt to perform some task.