Tool/software:
I added these two lines to the scs export code, and they have values when debugging.
=======================================
volatile uint16_t sensorDataBuffer[BUFFER_SIZE];
volatile uint8_t writeIndex = 0;
=======================================
Then I added these two lines in the main application of ccs, but they have no value.
=======================================
extern volatile uint16_t sensorDataBuffer[BUFFER_SIZE];
extern volatile uint8_t writeIndex;
=======================================
I made sure the code for both scs and ccs are working fine.
I just want to know how to get the adc value read in scs.
Thanks,
Gasen