主题:请工程师帮助解决一下 共有53304人关注过本帖 |
---|
杨明基 |
1楼 |
![]() |
请工程师帮助解决一下 ![]()
#include <stdio.h>
#include <conio.h> #include <ctype.h> #include <string.h> #include "rs232x3.h" int main() { int i,j; char instr[100]; InitUART(2,12,2); InstallISR(2); for(j=0;j<101;j++) { strcpy(instr,"YangMingJi"); for(i=0;i<strlen(instr);i++) { PutOutputData(2,instr[i]); } StartSend(2); clrscr(); printf("%d",j); } UninstallISR(2); return 0; } 以上程序编译时出现: Linker Error:Undefined symbol _UninstallISR in module TEST.C _StartSend _PutOutputData _InstallISR _InitUART 应该怎么处理?首先程序是找到了rs232x3.h这个文件,怎么通不过呢?rs232x3在与程序在同一目录。 另: 网站上有一个与PS2键盘接口的PDF,能不能发程序给我? |
单帖管理 | 引用 | 回复 ![]() |
zhl |
2楼 |
![]() |
![]()
在你的应用中调用了rs232x3.h中的函数,所以你需要建立一个PRJ文件,请参见我们提供的232demo.prj。
|
单帖管理 | 引用 | 回复 ![]() |
zhl |
3楼 |
![]() |
![]()
在你的应用中调用了rs232x3.h中的函数,所以你需要建立一个PRJ文件,请参见我们提供的232demo.prj。
程序已经发给你,请查收。 |
单帖管理 | 引用 | 回复 ![]() |