前言 使用Dio模块来驱动port的输入输出 1.配置Dio模块 1.选择VariantPreComple模式,方便初始化 2.进入DioPort 添加所需的引脚然后进入选择 配置所需引脚 到这,就配置成功了。 2.函数调用 //使用Dio_WriteChannel //引脚就选择Dio配置的参数