Settings
|
Sign in
|
Sign up
Bar
Post
Home
>
Bar AVR單片機
>
View post
Reply the post
|
View all
The author has
4
posts.
【教训】if ((A&0x10)==0)必须打括号!
Floor 1
巨大八爪鱼
7/22/12 22:06
A&0x10必须加上括号,否则出错
Floor 2
巨大八爪鱼
7/22/12 22:06
不能写成if (A&0x10==0)
Floor 3
巨大八爪鱼
7/22/12 22:07
怪不得检测不了独立按键
Floor 4
巨大八爪鱼
5/15/16 18:15
#define BIT(n) (1 << (n))
这个也必须要打上完备的括号,否则写~BIT(n)就会出错
Content converter:
No conversion
Mainland
Taiwan
Hong Kong
Singapore
Reply the post
Content:
User:
You are currently anonymous.
Captcha:
Unclear? Try another one.