【文章內(nèi)容簡(jiǎn)介】
文庫(kù) 2262/2272 編解碼集成電路介紹, 20210605/20210112 [6] 百度文庫(kù)霍爾傳感器的原理與應(yīng)用, 20210526/20210113 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 13 附 1: 源程序代碼 include define uchar unsigned char。 define uint unsigned int。 sbit IN1=P2^0。 //IN 端口定義 sbit IN2=P2^1。 sbit ENA=P2^2。 //使能端定義 sbit G=P2^3。 //指示燈端口定義 sbit Y=P2^4。 sbit R=P2^5。 sbit K1=P0^5。 //按鈕端口定義 sbit K2=P0^6。 sbit K3=P0^7。 sbit W1=P1^0。 //遙控器端口定義 sbit W2=P1^1。 sbit W3=P1^2。 sbit I=P1^3。 sbit H=P2^6。 //霍爾傳感器端口定義 sbit M=P3^6。 void delay (int i)//延時(shí)子程序 { char x,y。 for(x=i。x0。x) for(y=100。y0。y)。 } void main() { M=0。 ENA=0。 G=Y=R=1。 while(1) { 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 14 if(I==0) //按鍵控制程序 { if(K1==0)//正轉(zhuǎn) { delay(5)。 while(1) { G=0。Y=1。R=1。 ENA=1。IN1=1。IN2=0。 delay(10)。 ENA=1。IN1=0。IN2=0。 delay(20)。 if(K2==0||K3==0||H==1||I==1) break。 } } if(K2==0)//反轉(zhuǎn) { delay(5)。 while(1) { G=1。Y=0。R=1。 ENA=1。IN1=0。IN2=1。 delay(10)。 ENA=1。IN1=0。IN2=0。 delay(20)。 if(K1==0||K3==0||H==1||I==1) break。 } } if(K3==0||H==1)//停止 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 15 { G=1。Y=1。R=0。 ENA=0。IN1=0。IN2=0。 } } if(I==1) //無線遙控控制程序 { while(W1==1) //正轉(zhuǎn) { G=0。Y=1。R=1。 ENA=1。IN1=1。IN2=0。 delay(10)。 ENA=1。IN1=0。IN2=0。 delay(20)。 if(K1==0||K2==0||K3==0||H==1) break。 } while(W2==1) //反轉(zhuǎn) { G=1。Y=0。R=1。 ENA=1。IN1=0。IN2=1。 delay(10)。 ENA=1。IN1=0。IN2=0。 delay(20)。 if(K1==0||K2==0||K3==0||H==1) break。 } if(W3==1) //停止 { G=1。Y=1。R=0。 ENA=0。IN1=0。IN2=0。 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 16 } } } } 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 17 附 2: 系統(tǒng)原理圖 g an employment tribunal clai Employment tribunals sort out disagreements between employers and employees. You may need to make a claim to an employment tribunal if: ? you don39。t agree with the disciplinary action your employer has taken against you ? your employer dismisses you and you think that you have been dismissed unfairly. For more information about dismissal and unfair dismissal, see Dismissal. You can make a claim to an employment tribunal, even if you haven39。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an