jaredsweesy
Newbie level 1
Hi There,
I am a newbie, could anyone help me to solved my problem, here are :
That mean once pressed the button on PORTA.F1 then will stored to latest frequency pressed.
Thanks.
Jared.
I am a newbie, could anyone help me to solved my problem, here are :
Code:
if(PORTA.F0 == 0) {
delay_ms(180);
if(++up>350)up=250;
frek(up);
}
if(PORTA.F1 == 0) {
delay_ms(180);
if(--dw<250)dw=350;
frek(dw);
//How to stored frequency after PORTA.FI or PORTA.F0 pressed
That mean once pressed the button on PORTA.F1 then will stored to latest frequency pressed.
Thanks.
Jared.