//my first pushbutton function code 19/03/24
#include "input_k.h";
void setup() {
// put your setup code here, to run once:
void set_portf_dir(void);
void set_portk_dir(void);
}
void loop() {
// put your main code here, to run repeatedly:
volatile char x,y=1;
x=press_key();
if((x & 0x01)==0x01)
{
LED_ON(y);
}
}