#include<stdio.h>
#include "gpio_driver.h"
gpio_handle led;// initialize the handle variable
void setup()
{
handle_configure(led,GPIOF,0,GPIO_OUTPUT);//object,port,pin,direction
}
void loop()
{
gpio_write(led,GPIO_SET);
short_delay();
gpio_write(led,GPIO_RESET);
short_delay();
}
/*
void setup()
{
led.port=GPIOF;
led.pin=7;
led.direction=HIGH;
gpio_init(&led);// initialize the pin..
// gpio_write(&led,HIGH);
}
void loop()
{
gpio_write(&led,HIGH);
short_delay();
gpio_write(&led,LOW);
short_delay();
}
*/
LSB(A7)
LSB(A0)