#include "test.h"
int main()
{
//choose direction Registor for portf as output the output address of dir for portF is (0x31)
//make the portf as output by sending data 1 to pins i.e 0xff
//select the address of portf(0x30)
//send data 1 0R 0 to portf depending upon what pin you need to use as high or low from A7(msb)--A0 (lsb)
init_dir(0x30,0xff);
while(1)
{
output(0x31,0x01);
delay(200000);
output(0x31,0x00);
delay(200000);
}
return 0;
}