The OP
Published on 2021-12-29 21:48
Only look at the author
This post is from 51mcu
Latest reply
You can use the second method to write in the future and pass the value into a temporary variable.
or
unsigned char temp=0x80;
for(i = 0; i < 8; i++) {
temp=0x80;
if(TRUE == hang & temp) {
/* Corresponding operation*/
} else {
/* Corresponding operation*/
}
temp >>= 1;
/* Similarly, perform bit judgment from high to low */
}
Details
Published on 2021-12-30 23:26
| |||
|
|||
annysky2012
Currently offline
|
3
Published on 2021-12-29 22:53
Only look at the author
|
Personal signature
没有什么不可以,我就是我,不一样的烟火! |
|
|
4
Published on 2021-12-29 23:32
Only look at the author
This post is from 51mcu
| ||
|
||
|
5
Published on 2021-12-30 09:05
Only look at the author
This post is from 51mcu
| ||
|
||
|
6
Published on 2021-12-30 09:16
Only look at the author
| |
|
|
|
wangerxian
Currently offline
|
7
Published on 2021-12-30 09:26
Only look at the author
This post is from 51mcu
| |
|
||
|
8
Published on 2021-12-30 14:27
Only look at the author
This post is from 51mcu
| ||
|
||
|
9
Published on 2021-12-30 23:19
Only look at the author
This post is from 51mcu
| ||
|
||
|
10
Published on 2021-12-30 23:26
Only look at the author
This post is from 51mcu
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190