This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Delay function in scs

Other Parts Discussed in Thread: CC1310

i saw the resource explorer,

the delay function is

Examples

Microsecond Delay

// Power up the sensor and wait 850 microseconds for it to get ready
gpioSetOutput(AUXIO_O_SENSOR_POWER);
fwDelayUs(850, FW_DELAY_RANGE_1_MS);

// Sample the sensor and store the ADC value
adcGenManualTrigger();
adcReadFifo(output.adcValue); 

Instruction Cycle Delay

// Generate a 2 microsecond pulse (gpioSetOutput() and gpioClearOutput() take one instruction cycle each)
gpioSetOutput(AUXIO_O_SENSOR_POWER);
fwDelayInstrCycles(23);
gpioClearOutput(AUXIO_O_SENSOR_POWER); 


but once i add the sentence in scs:
fwDelayUs(850, FW_DELAY_RANGE_1_MS);

it comes out that there is syntax error:
can anyone help>?

thanks

Jeff