i saw the resource explorer,
the delay function is
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
