Spi1_Init_Advanced query
Posted: 05 Sep 2009 18:12
Why do I get undeclared identifier for all the parameters of
Spi1_Init_Advanced(_SPI_MASTER, _SPI_8_BIT, _SPI_PRESCALE_SEC_1, _SPI_PRESCALE_PRI_1, _SPI_SS_DISABLE, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_LOW, _SPI_ACTIVE_2_IDLE);
?
Should I include a declarations file of some kind?
I'm using dsPIC33j256gp710 at 10MHz.
Spi1_Init_Advanced(_SPI_MASTER, _SPI_8_BIT, _SPI_PRESCALE_SEC_1, _SPI_PRESCALE_PRI_1, _SPI_SS_DISABLE, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_LOW, _SPI_ACTIVE_2_IDLE);
?
Should I include a declarations file of some kind?
I'm using dsPIC33j256gp710 at 10MHz.