#include "hardware_dependent.h"
void setup() {
// put your setup code here, to run once:
init_port();
}
void loop() {
// put your main code here, to run repeatedly:
volatile int x;
volatile int y;
volatile long i;
x=input();
if((x&0x82)==0x82)//if 1st push button is pressed
{
y=0b00100000;
output(y);
for (i=0;i<1000000;i++);
y=0b00000000;
output(y);
}
}