Hi,
I am trying to send a ‘A’ to my computer via the SPI protocol and by using a RCM3700 board I run this program :
====>
#class auto
#define SPI_SER_C
#define SPI_CLK_DIVISOR 5
#use “spi.lib”
void main()
{
char adc_reading[2];
int i;
int adc_sample;
SPIinit();
SPIWrite(‘A’,1);
}
================>
But I only get the following error message :
“lInternal Error: Expression temporary stack usage.”
Do someone know how to do this ?
Thanks !