#include "led_test.h";
void setup() {
// put your setup code here, to run once:
set_port_dir();
}
void loop() {
// put your main code here, to run repeatedly:
unsigned char x,z;
volatile long i,flage,a=0;
unsigned char ch[8]={0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80};
unsigned char nu[8]={1,2,4,8,16,32,64,128};
x=push_butoon();
z=push_button_z();
if((x & 0x01)==0x01)
{
if(i%2==0)
{
LED_1(0xFF);
}
else
{
LED_1(0x00);
}
i++;
}
}