PIC Vietnam

Go Back   PIC Vietnam > Microchip PIC > Chương trình dịch & các công cụ mô phỏng

Tài trợ cho PIC Vietnam
Trang chủ Đăng Kí Hỏi/Ðáp Thành Viên Lịch Bài Trong Ngày Vi điều khiển

Chương trình dịch & các công cụ mô phỏng Khu vực này chỉ có thành viên diễn đàn mới được vào

Trả lời
 
Ðiều Chỉnh Xếp Bài
Old 15-01-2010, 03:25 PM   #1
lethach
Nhập môn đệ tử
 
Tham gia ngày: Nov 2009
Bài gửi: 2
:
Thumbs up CCS 4.104 năm 2010

Đây là phiên bản CCS 4.104 ra đời năm 2010. Cài đặt xong bạn nhớ khởi động lại máy.
http://mega.1280.com/file/C8GDDT71P7/
lethach vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 15-01-2010, 07:52 PM   #2
manhha2799
Đệ tử 5 túi
 
Tham gia ngày: Apr 2007
Bài gửi: 121
:
Send a message via Yahoo to manhha2799
Các bạn có ai biết mấy phiên bản mới này có tác dụng gì vậy. Không biết có thêm tính năng hàm có sẵn ko. Hay chỉ là tối ưu bộ nhớ thôi vậy. Mình thấy mấy phiên bản trước chẳng có gì khác nhau cả.
__________________
Bảng ledsigns chất lượng cao...
http://www.ledviet.info - manhha2700@yahoo.com
Đt:0949299699
manhha2799 vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 15-01-2010, 10:56 PM   #3
meishun
Đệ tử 6 túi
 
meishun's Avatar
 
Tham gia ngày: Jul 2006
Bài gửi: 135
:
Mỗi khi 1 phần mềm hay 1 công cụ lập trình được nâng cấp phiên bản mới thì chắc chắn nó phải có nhiều điểm mới hơn và cải tiến hơn so với phiên bản cũ. Theo kinh nghiệm thì nhà phát triển tool sẽ FIX bug trong design, tối ưu code sinh ra cho mỗi hàm, hỗ trợ thêm nhiều chip mới .... Thậm chí nhiều khi phiên bản mới ko nhất thiết phải khác hoàn toàn so với phiên bản cũ (đứng ở góc độ người dùng nhìn vào) NHƯNG quan trọng nhất là khắc phục được hầu hết BUG trong phiên bản trước.
Muốn kiểm tra xem khác biệt như thế nào thì phải xem các Documents được release đi kèm với mỗi phiên bản. Mà, điều này thì ít ai chú ý tới.
meishun vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 16-01-2010, 08:29 AM   #4
bien_van_khat
...Damned...
 
bien_van_khat's Avatar
 
Tham gia ngày: Apr 2006
Nơi Cư Ngụ: Hồ Chí Minh
Bài gửi: 522
:
Trích:
Nguyên văn bởi manhha2799 View Post
Các bạn có ai biết mấy phiên bản mới này có tác dụng gì vậy. Không biết có thêm tính năng hàm có sẵn ko. Hay chỉ là tối ưu bộ nhớ thôi vậy. Mình thấy mấy phiên bản trước chẳng có gì khác nhau cả.
Ngoài ra còn phải thường xuyên cập nhật hỗ trợ chip mới vì Microchip ra chip mới liên tục, thêm tính năng mới, ví dụ CSM, CTMU, PPS
__________________
- Xin đọc trước khi post bài

Xin đặt code trong thẻ [ code ] [ /code ]
bien_van_khat vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 16-01-2010, 05:40 PM   #5
8051topic
Đệ tử 4 túi
 
Tham gia ngày: Apr 2006
Bài gửi: 71
:
Code:
RECENT CHANGES

4.104  SHORT INT is now the same as SHORT and INT1 as it was in earlier versions
 4.104  Problems with printf redirection to functions that use ptr registers is fixed
 4.104  Some problems with complex structure pointers are fixed
 4.104  PCD SPI MODE= fixed to match documentation
 4.103  A problem with somE initializers (the = in a declaration)is fixed
 4.102  Some issues with pointers to ROM have been fixed
 4.102  Compiler status window now shows worst case RAM use not best case
 4.101  Internal error on some projects that use dual priority interrupts is fixed
 4.101  INT_RA not defined on some parts is now fixed
 4.100  New command line option sourceline= to add a source line to the start of the file
 4.100  Dereferencing of function pointers is no longer required
 4.100  New preprocessor function definedinc() may be used to determine the use of a C identifier
 4.100  enable_interrupts() may now be used to set the edge detection on interrupts that allow it
 4.100  A new function INPUT_CHANGE_x may be used to find port pins that have changed
 4.100  #build/#export expanded to improve interfacing to bootloaders and resident libraries
 4.100  New example set API.ZIP added to show how to use the new #build/#export features
 4.100  time_t changed to rtc_time_t in the device header files, time.h not changed
 4.099  A problem with interrupts corrupting port A on some parts is fixed
http://www.ccsinfo.com/devices.php?page=versioninfo
8051topic vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 07-02-2010, 08:14 PM   #6
leevn
Đệ tử 1 túi
 
Tham gia ngày: Nov 2008
Bài gửi: 11
:
theo mình nghĩ thì đương nhiên phiên bản sau phải tốt hơn phiên bản trước rồi, có thể là một vài thay đổi nhỏ mà mỉnh không để ý thôi
leevn vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 09-02-2010, 11:27 AM   #7
vinhnguyen89
Nhập môn đệ tử
 
Tham gia ngày: Jan 2009
Bài gửi: 3
:
Thanks Lethach!
vinhnguyen89 vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 19-02-2010, 10:56 AM   #8
hongquyen
Đệ tử 4 túi
 
hongquyen's Avatar
 
Tham gia ngày: Jun 2007
Bài gửi: 74
:
Trích:
Nguyên văn bởi lethach View Post
Đây là phiên bản CCS 4.104 ra đời năm 2010. Cài đặt xong bạn nhớ khởi động lại máy.
http://mega.1280.com/file/C8GDDT71P7/
link die rồi anh ơi,
anh vui lòng up lại giùm em nhé, lên trang mediafile cho anh em dễ tải về anh ạ, à anh cho em hỏi phần mềm này cr@ck chưa vậy ạ?


em chân thành cảm ơn và happy new year.
hongquyen vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 25-02-2010, 12:22 AM   #9
voicewithin
Đệ tử 2 túi
 
Tham gia ngày: Mar 2009
Bài gửi: 26
:
Thử link này xem

http://www.megaupload.com/?d=041Y86AW

thay đổi nội dung bởi: voicewithin, 06-03-2010 lúc 09:37 AM.
voicewithin vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 25-02-2010, 09:01 AM   #10
vhuy44
Nhập môn đệ tử
 
Tham gia ngày: Feb 2009
Bài gửi: 2
:
http://www.megaupload.com/?d=WCMXRG6W

=> Filename: SW2010_SP0.0_Win32_Full_Multilan..rar
File description: SW2010_SP0.0_Win32_Full_Multilanguage_www.newestwa rez.com.part05.rar
File size: 190.73 MB

Cái này là cái gì vậy bác?
vhuy44 vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 06-03-2010, 09:36 AM   #11
voicewithin
Đệ tử 2 túi
 
Tham gia ngày: Mar 2009
Bài gửi: 26
:
Trích:
Nguyên văn bởi vhuy44 View Post
http://www.megaupload.com/?d=WCMXRG6W

=> Filename: SW2010_SP0.0_Win32_Full_Multilan..rar
File description: SW2010_SP0.0_Win32_Full_Multilanguage_www.newestwa rez.com.part05.rar
File size: 190.73 MB

Cái này là cái gì vậy bác?
Xin lỗi không để ý post nhầm link

http://www.megaupload.com/?d=041Y86AW
voicewithin vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 13-09-2010, 11:22 AM   #12
vuquyen
Nhập môn đệ tử
 
Tham gia ngày: Apr 2010
Bài gửi: 4
:
đúng lúc cần CCS. thanks bác
vuquyen vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 13-09-2010, 11:25 AM   #13
vuquyen
Nhập môn đệ tử
 
Tham gia ngày: Apr 2010
Bài gửi: 4
:
chậc. mình ko down được rùi bạn ơi. up lên host khác đi. please
vuquyen vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 29-09-2010, 02:52 PM   #14
bavinhlhu
Nhập môn đệ tử
 
Tham gia ngày: Nov 2009
Bài gửi: 7
:
bản css 4.104 này đã crack chưa vậy hả bác ơi.
với lại bác nào có thể lí giải dùm cho mình với . mình đang làm dự án với bài tập như sau trong file đính kèm , khi biên dịch nó cứ báo là đã vượt quá dung lượng cho phép , nhung theo điều tra thì không thể nào vượt quá bộ nhớ rom của nó được . ai có thể giúp mình với.

#include <16F887.h>
#fuses HS, NOWDT,NOLVP,put//,wrt_50%
#use delay (clock=12000000) // define crystal = 8MHz
#use rs232(baud=9600, xmit=PIN_c6,rcv=PIN_c7)
#use fast_io(a)
#use fast_io(b)
#use fast_io(c)
#use fast_io(d)
//#include<math.h>
// 0 1 2 3 4 5 6 7 8 9
//byte const ma_led[] = {0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90 ,255};
//byte const ma_quet[6]={0b11111110,0b11111101,0b11111011,0b11110111,0b11 101111,0b11011111};
//byte const ma_chu[]={"thang di cho kia tao chem chet cha may luon nghe chua $"};
//byte so[6];
#define u unsigned
u int8 i,j,t,bien_line,so_line,lech_line;
u int8 speed_trai0,speed_trai1,speed_trai2,speed_trai3,sp eed_trai4,speed_trai5,speed_trai6,speed_trai7;
u int8 speed_phai0,speed_phai1,speed_phai2,speed_phai3,sp eed_phai4,speed_phai5,speed_phai6,speed_phai7;
u int16 bien_encoder;



#byte porta=5
#byte portb=6
#byte portc=7
#byte portd=8
#byte porte=9


//#byte porte=9
#byte txreg=0x19
#byte rcreg=0x1a
#byte cb = portd

#bit cb0 =portd.0 //ben trai
#bit cb1 =portd.1
#bit cb2 =portd.2
#bit cb3 =portd.3 // o giua ben trai

#bit cb4 =portd.4// o giua ben phai
#bit cb5 =portd.5
#bit cb6 =portd.6
#bit cb7 =portd.7// ben phai




#bit nut_xd =porta.0
#bit nut_ct1 =porta.1
#bit nut_ct2 =porta.2
#bit nut_ct3 =porta.3

#bit role_khoa_trai = porta.4
#bit role_khoa_phai = porta.5
#bit role_trai = porta.6
#bit role_phai = porta.7

#define dc_trai set_pwm1_duty
#define dc_phai set_pwm2_duty



#int_timer0
void TIMER0_isr()
{

}


#int_timer1
void TIMER1_isr()
{
}


#INT_EXT // ngat encoder
void encoder_isr()
{
++bien_encoder;
}

//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
void kt_line()
{ bien_line=0;
if (!cb0) ++bien_line;if (!cb1) ++bien_line;if (!cb2) ++bien_line;if (!cb3) ++bien_line;if (!cb4) ++bien_line;
if(!cb5) ++bien_line;if (!cb6) ++bien_line;if (!cb7) ++bien_line;
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

void dem_line()
{ kt_line();
if ((bien_line>4) && (bien_encoder>150) ) {++so_line;bien_encoder=0;}
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
void do_line()
{
if (cb==0){dc_trai(speed_trai0);dc_phai(speed_phai0); lech_line=0;}
else if(cb3==0 && cb4==0){dc_trai(speed_trai0);dc_phai(speed_phai0); lech_line=0;}//11100111

else if(cb3==0 && cb4==1){dc_trai(speed_trai0);dc_phai(speed_phai1); lech_line=0;}//11101111

else if(cb3==1 && cb4==0){dc_trai(speed_trai1);dc_phai(speed_phai0); lech_line=0;}//11110111

else if(cb2==0 && cb3==0){dc_trai(speed_trai0);dc_phai(speed_phai2); lech_line=0;}//11001111

else if(cb5==0 && cb4==0){dc_trai(speed_trai2);dc_phai(speed_phai0); lech_line=0;}//11110011

else if(cb2==0 && cb3==1){dc_trai(speed_trai0);dc_phai(speed_phai3); lech_line=1;}//11011111

else if(cb5==0 && cb4==1){dc_trai(speed_trai3);dc_phai(speed_phai0); lech_line=2;}//11111011

else if(cb1==0 && cb2==0){dc_trai(speed_trai0);dc_phai(speed_phai4); lech_line=1;}//10011111

else if(cb5==0 && cb6==0){dc_trai(speed_trai4);dc_phai(speed_phai0); lech_line=2;}//11111001

else if(cb1==0 && cb2==1){dc_trai(speed_trai0);dc_phai(speed_phai5); lech_line=1;}//10111111

else if(cb6==0 && cb5==1){dc_trai(speed_trai5);dc_phai(speed_phai0); lech_line=2;}//11111101

else if(cb0==0 && cb1==0){dc_trai(speed_trai0);dc_phai(speed_phai6); lech_line=1;}//00111111

else if(cb6==0 && cb7==0){dc_trai(speed_trai6);dc_phai(speed_phai0); lech_line=2;}//11111100

else if(cb0==0 && cb1==1){dc_trai(speed_trai0);dc_phai(speed_phai7); lech_line=1;}//01111111

else if(cb7==0 && cb6==1){dc_trai(speed_trai7);dc_phai(speed_phai0); lech_line=2;}//11111110
else if(cb=255)
{if (lech_line==1){dc_trai(0);dc_phai(255);}
else if(lech_line==2){dc_trai(255);dc_phai(0);}
}
}
//***************************************


void chay_dem_line(u int8 line_can_di)
{so_line=0;
do{
dem_line();
do_line();
}while(line_can_di>=so_line);
}

//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
void chay_do_line_encoder(u int16 tam)
{bien_encoder=0;while(bien_encoder<tam){ do_line();}
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
void queo_trai()
{u char i;
role_khoa_trai=1;role_khoa_phai=1;role_trai=0;role _phai=1;dc_trai(200); dc_phai(200);
while(i<100)
{ if (!cb0) ++i;
else i=0;
}
i=0;
while(i<100)
{ if (cb0) ++i;
else i=0;
}

i=0;
while(i<100)
{ if (cb2) ++i;
else i=0;
}

role_khoa_trai=0;role_khoa_phai=0;role_trai=1;role _phai=1;delay_ms(100);
role_khoa_trai=1;role_khoa_phai=1;
}//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
void queo_phai()
{u char i;
role_khoa_trai=1;role_khoa_phai=1;role_phai=0;role _trai=1;dc_trai(200); dc_phai(200);
while(i<100)
{ if (!cb7) ++i;
else i=0;
}
i=0;
while(i<100)
{ if (cb7) ++i;
else i=0;
}

i=0;
while(i<100)
{ if (cb5) ++i;
else i=0;
}

role_khoa_trai=0;role_khoa_phai=0;role_trai=1;role _phai=1;delay_ms(100);
role_khoa_trai=1;role_khoa_phai=1;
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
void toc_do1()
{ speed_trai0=255;speed_phai0=255;
speed_trai1=230;speed_phai1=230;
speed_trai2=200;speed_phai2=200;
speed_trai3=150;speed_phai3=150;
speed_trai4=120;speed_phai4=120;
speed_trai5=80;speed_phai5=80;
speed_trai6=30;speed_phai6=30;
speed_trai7=10;speed_phai7=10;
}

void chay_xanh1()
{ dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);

toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);

toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
}

//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

void main()
{
set_tris_a(0);
set_tris_b(0b11110000);
set_tris_d(0);
set_tris_c(0b10000000);
output_c(255);
output_d(255);
#zero_ram
set_timer0(100);
set_timer1(50000);
set_timer2(1);
setup_timer_0 (RTCC_DIV_32|RTCC_INTERNAL);
setup_timer_1 (T1_INTERNAL|T1_DIV_BY_8);

enable_interrupts(int_timer0);
enable_interrupts(int_timer1);

// khai bao ngat ngoai dung encoder
enable_interrupts(INT_EXT);//ngat ngoai
ext_int_edge( H_TO_L );//co su thay doi tu cao xuong thap



// phan khai bao pwm
setup_timer_2(T2_DIV_BY_16,200,16);
set_timer2(100);
setup_ccp1(CCP_PWM); // Configure CCP1 as a PWM
setup_ccp2(CCP_pwm); // Configure CCP2 as a PWM

set_pwm1_duty(0); // dung motor
set_pwm2_duty(0); // dung motor

enable_interrupts(global);

//while(true)
//{
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);

dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();
dc_trai(0);dc_phai(15);
toc_do1();chay_dem_line(10);
toc_do1();chay_do_line_encoder(1000);
queo_trai();
queo_phai();


chay_xanh1();// xin mọi người chú ý đến chỗ này nếu mình bỏ thì báo 22% còn mình khong bỏ thì lại báo full mặc dù chương trình chay_xanh1(); này cùng lắm là 5% nữa là cùng thôi .


}
bavinhlhu vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Old 13-10-2010, 06:31 PM   #15
le van thi
Nhập môn đệ tử
 
Tham gia ngày: Oct 2010
Bài gửi: 1
:
viết chương trình !

anh chị nào cho mình hỏi về đề tài này cái nha !board mạch 1 led 7 đoạn và 2 nút nhấn giao tiếp LPT , khi nhấn 1 nút thì led đó đếm lên 1.dùng c hoặc c++ hoặc bất cứ chương trình nào viết cũng được .anh chị nào biết viết chương trình dùm mình cái nha !mình cảm ơn nhiều !
le van thi vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
Trả lời


Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt

Chuyển đến


Múi giờ GMT. Hiện tại là 09:14 AM.


Được sáng lập bởi Đoàn Hiệp
Powered by vBulletin®
Page copy protected against web site content infringement by Copyscape
Copyright © PIC Vietnam