说明
设置GPIO引脚输出电平值
/**
* @brief Sets the output level value for a GPIO pin.
*
* @param id Indicates the GPIO pin ID.
* @param val Indicates the output level value.
* @return Returns {@link WIFI_IOT_SUCCESS} if the operation is successful;
* returns an error code defined in {@link wifiiot_errno.h} otherwise.
* @since 1.0
* @version 1.0
*/
unsigned int GpioSetOutputVal(WifiIotGpioIdx id, WifiIotGpioValue val);
参数:
返回:错误码
头文件
\\base\iot_hardware\interfaces\kits\wifiiot_lite\wifiiot_gpio.h