控制扩展端口电平


void gpio_out(int n,int c);
//n:扩展端口号 0~5 
//c:端口的电平 0-低电平  1-高电平

示例

gpio_out(0,1);  //0号端口输出高电平

注意