The images, logos, trademarks used on this site and all forwarded content are the property of their respective owners.
We are not responsible for comments posted by our visitors, as they are the property of the poster.
All other content of this website is copyrighted by 加西网 Private Policy | skin: oblog
中间遇到不同的问题,都在网上找到答案,有的却不能,比如这一句
if( (P1IN&BUTTON1)==BUTTON1)
判断这个按钮有没有被按下
之前少了一对括号
if( P1IN&BUTTON1==BUTTON1)
自己认为有没有括号都一样啊,所以出现了无法判断按钮按下的问题
位操作的优先权不是很高的吗?
这个括号的缺失,阻碍了好久好久,各种做实验,各种尝试,最后才发现这里的括号这么重要