8252| 22
|
新人求助,关于不连续IO口整体赋值问题 |
5金钱
最佳答案首先设定2个变量T1,T2,T,  2 &= 0X0F;//也就是高位清零,低位不变,然后让P2 |= 0X00;// 也就是整个P2口都不变,当然也就保证了P2的高4位不变了,然后将T1 = 2;//将P2的值赋值给T1,同样的道理 3 &= 0XF0;//低四位清零
T2 = 3;//将P3口低四位的值赋值给T2,然后T = T1 |T2;就可以了,与或非建议你看看C语言
| ||
发表于 2015-4-21 14:11:03
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
发表于 2015-4-21 15:16:37
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
发表于 2015-4-21 15:17:02
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
| ||
发表于 2015-4-21 15:22:53
|
显示全部楼层
| ||
学无止境
|
||
发表于 2015-4-21 15:33:34
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
发表于 2015-4-21 15:34:05
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
| ||
发表于 2015-4-21 15:45:54
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
发表于 2015-4-21 15:48:44
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
| ||
发表于 2015-4-21 15:52:44
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
| ||
发表于 2015-4-21 16:15:39
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
| ||
| ||
| ||
发表于 2015-4-21 17:29:18
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
发表于 2015-4-21 17:29:50
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
| ||
发表于 2015-4-21 18:48:01
|
显示全部楼层
| ||
http://shop118132896.taobao.com/index.htm?spm=2013.1.w5002-10547694187.2.UDhjf5&v=1我的淘宝小店,欢迎光临
|
||
发表于 2015-4-26 22:13:56
|
显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
| |
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-23 10:00
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网