#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;
x=input();
if((x&0x01)==0x01)
{
y=0xFF;
output(y);
}
else
{
y=0x00;
output(y);
}
}