这是我在16F877,18F1320,18F1220上通过的18B20程序,18B20主要是延时问题,这个解决了,什么都可以通过。 [原作者没有提供所使用的编译器,由于是C程序,所以大同小异,建议使用时,确认是否与你的编译器兼容] C程序 #include #define uch unsigned char #define unint unsigned int #define DQ RB3 //定义18B20数据端口 #define DQ_DIR TRISB3 //定义18B20D口方向寄存器 #define W1_INPUT 1 ...
by Send_linux - 移动操作系统 - 2010-02-22 10:15:55 阅读(1418) 回复(0)
奇怪,程序编译时报错: ld: 致命的:太多的符号需要 'small' pic参数: 有1168, 最大值1024 -- 重新编译一些模块 -K pic 编译环境sun solaris10 sparc平台。奇怪的是,在x86平台机器上就可以编译。 请教,这是什么方面的错误啊,
ArchLinux Debian fedora freeBSD(不是Linux而是UNIX) Gentoo mandriva OpenSuSE ubuntu kubuntu xunbuntu 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/38576/showart_397202.html
.artifactcomment, #commentform { margin: .5em 0 0 0; padding: .3em 0 .3em .3em; border-top: 3px solid #c3d9ff; } #commentform { padding-top: 1em; } .delcom { background: #e8e8e8 } .commentcontent { margin: 1em 0;} Understanding pic GOT This article describers the pic (Position Independant Code)...
links http://www.yjsl.com/bbs/UploadFile/2005-3/200535114547.jpg http://www.yjsl.com/bbs/UploadFile/2005-3/200535114516642.jpg http://www.yjsl.com/bbs/UploadFile/2005-3/200535114240676.jpg http://www.dxs.cn/bbs/uploadfile6/200422619203317515.jpg http://haohan.bdcf.net/bbs/attachments/a14_1Aao.jpg http://haohan.bdcf.net/bbs/attachments/a3_xj56.jpg http://haohan.bdcf.net/bbs/attachments/a12_TBJI.j...