NGHIÊN CỨU VỀ GRAFCET

72 684 1
NGHIÊN CỨU VỀ GRAFCET

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

2.Chương trìnhinclude p30fxxxx.hinclude define Fcy 4000000 unsigned int dem=0,enco = 25;unsigned int temp=0,td,count;_FOSC(CSW_FSCM_OFF HS); _FWDT(WDT_OFF); Turn off the WatchDog Timer._FBORPOR(MCLR_EN PWRT_OFF); Enable MCLR reset pin and turn off thedefine LED1 PORTDbits.TRISD0define LED2 PORTDbits.TRISD1define LED3 PORTDbits.TRISD2define LED4 PORTDbits.TRISD3unsigned int LED_CODE10 = {0x00C0,0xF9,0x00A4,0x00B0,0x0099,0x0092,0x0082,0x00F8,0x0080,0x0090}; void delay_ms() ham tre mot khoang thoi gian{int i,j; for(i=0;i

Ngày đăng: 01/07/2014, 09:59

Tài liệu cùng người dùng

Tài liệu liên quan