![]() |
|
Tài trợ cho PIC Vietnam |
||||||||
| Bootloaders - Programmers - Debuggers - Emulators Những công cụ cần thiết để lập trình cho PIC/dsPIC |
|
|
Ðiều Chỉnh | Xếp Bài |
|
|
#2 | |
|
Đệ tử 2 túi
Tham gia ngày: Jul 2009
Bài gửi: 40
: |
Trích:
bạn thử viết lại như vầy coi #include <16F877A.h> #fuses NOWDT,NOLVP,XT,PUT,NOPROTECT #use delay(clock=4000000) #byte portd=0x8 #byte trisd=0x88 void main() { trisd=0x00; while(1) { portd=0xff; delay_ms(3000); portd=0x00; delay_ms(3000); } }
__________________
Cao Văn Hưởng SĐT: 01672754113 Email: caovanhuong@webdien.com Nhận thiết kế mạch điện tử, PCB (Orcad) |
|
|
|
|
|
|