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.

SENSOR CONTROLL STDIOU STUDIO

请教各位专家:

我用SENSOR CONTROLL STDIOU STUDIO 做了一个信号采集的历程,想将历程加入我的SENSOR 项目中运行。现有个问题请教。

在我的历程中:

AUXIO_I_ALARM_INPUT_PIN 定义为DIO_5

用这个函数 读取DIO_5  状态进行判断  gpioGetInputValue(AUXIO_I_ALARM_INPUT_PIN;output.alarmInputValue);

发现初始时 读取DIO_5 为高电平。我想在历程的初始化工程中进行该端口状态进行翻转,用到下面函数。但发现没有作用,程序运行起来读取的端口还是高电平

// Schedule the first execution

gpioToggleOutput(AUXIO_I_ALARM_INPUT_PIN);

请教这是什么问题,如何对io 初始化成我设定的电平状态,多谢。