void keyscan(){if(key1==0){delayms(10);if(key1==0){while(!key1);num++;if(num==24)num=0;display(num);}}}