PIC Vietnam

Go Back   PIC Vietnam > Microchip PIC > dsPIC - Bộ điều khiển tín hiệu số 16-bit

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

dsPIC - Bộ điều khiển tín hiệu số 16-bit Theo dự kiến của Microchip, vào khoảng năm 2011 dsPIC sẽ có doanh số lớn hơn PIC

 
 
Ðiều Chỉnh Xếp Bài
Prev Previous Post   Next Post Next
Old 28-10-2009, 12:50 PM   #26
popeye_ts22
Đệ tử 2 túi
 
popeye_ts22's Avatar
 
Tham gia ngày: Jul 2008
Nơi Cư Ngụ: Hà Nội
Bài gửi: 42
:
Send a message via Yahoo to popeye_ts22
Smile Edit thư viện Xlcd

Code:
OpenXLCD(EIGHT_BIT & TWO_LINE & SEG1_50_SEG51_100
             & COM1_COM16);    //Khoi tao lcd
Không biết LCD Type ở đây là gì,không hiểu sao C30 toàn báo lỗi.
Code:
LCD162.c: In function 'main':
LCD162.c:9: warning: implicit declaration of function 'OpenXLCD'
LCD162.c:9: error: 'EIGHT_BIT' undeclared (first use in this function)
LCD162.c:9: error: (Each undeclared identifier is reported only once
LCD162.c:9: error: for each function it appears in.)
LCD162.c:9: error: 'TWO_LINE' undeclared (first use in this function)
LCD162.c:10: error: 'SEG1_50_SEG51_100' undeclared (first use in this function)
LCD162.c:10: error: 'COM1_COM16' undeclared (first use in this function)
LCD162.c:11: warning: implicit declaration of function 'PutsXLCD'
LCD162.c:13: warning: implicit declaration of function 'SetDDRamAddr'
LCD162.c:15: warning: implicit declaration of function 'DelayMs'
LCD162.c:23:2: warning: no newline at end of file
Thư viện Xlcd có dùng cho PIC24F được không ạ, khi mà bỏ hết #ifdef_RD10
__________________
Best Regard.
popeye_ts22 vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
 

Ðiều Chỉnh
Xếp Bà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à 02:06 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