cho em hỏi phần lập trình bị lỗi gì. file này viết bằng c em muốn chuyển sang asembly được ko.
file lập trình:
http://www.mediafire.com/?ys2ydc7encmc9ec
Khi chạy báo lỗi:
*** WARNING C318 IN LINE 7 OF donghothuc1.c: can't open file 'i2c.h'
*** WARNING C318 IN LINE 8 OF donghothuc1.c: can't open file 'ds1307.h'
DONGHOTHUC1.C(11): warning C206: 'I2C_Start': missing function-prototype
DONGHOTHUC1.C(12): warning C206: 'I2C_Write': missing function-prototype
DONGHOTHUC1.C(12): error C267: 'I2C_Write': requires ANSI-style prototype
Target not created
file lập trình:
http://www.mediafire.com/?ys2ydc7encmc9ec
Khi chạy báo lỗi:
*** WARNING C318 IN LINE 7 OF donghothuc1.c: can't open file 'i2c.h'
*** WARNING C318 IN LINE 8 OF donghothuc1.c: can't open file 'ds1307.h'
DONGHOTHUC1.C(11): warning C206: 'I2C_Start': missing function-prototype
DONGHOTHUC1.C(12): warning C206: 'I2C_Write': missing function-prototype
DONGHOTHUC1.C(12): error C267: 'I2C_Write': requires ANSI-style prototype
Target not created