SPI error | Microcontroller › PIC › SPI error This topic has 0 replies, 1 voice, and was last updated 8 years, 7 months ago by Mike. Viewing 1 post (of 1 total) Author Posts February 15, 2016 at 7:28 pm #4295 MikeParticipant I'm using a pic18f258 and i pretend to use it as a receiver for NRF24L01. I'm using Mplab and XC8 compiler. When i call this function: OpenSPI(SPI_FOSC_4, MODE_00, SMPMID); i got this compilation error: error: (1098) conflicting declarations for variable "_SSPSTATbits" Can someone please help me solve it? Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In