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)
自己認為有沒有括號都一樣啊,所以出現了無法判斷按鈕按下的問題
位操作的優先權不是很高的嗎?
這個括號的缺失,阻礙了好久好久,各種做實驗,各種嘗試,最後才發現這裡的括號這麼重要