This post is from Embedded System
| ||
|
||
|
2
Published on 2019-2-25 08:44
Only look at the author
This post is from Embedded System
| |
Personal signature为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
|
||
|
3
Published on 2019-2-25 08:59
Only look at the author
This post is from Embedded System
Comments
Because the port pull-up resistor is enabled, BIT6 does not need to be set to output high. Because of the pull-up, this port is usually pulled high.
Details
Published on 2019-2-25 11:58
Because the port pull-up resistor is enabled, BIT6 does not need to be set to output high. Because of the pull-up, this port is usually pulled high.
Details
Published on 2019-2-25 09:28
赞赏 | ||
|
||
|
tiankai001
Currently offline
|
4
Published on 2019-2-25 09:26
Only look at the author
This post is from Embedded System
| |
|
||
|
tiankai001
Currently offline
|
5
Published on 2019-2-25 09:28
Only look at the author
This post is from Embedded System
Comments | |
|
||
|
tiankai001
Currently offline
|
6
Published on 2019-2-25 09:30
Only look at the author
This post is from Embedded System
| |
|
||
|
7
Published on 2019-2-25 10:12
Only look at the author
This post is from Embedded System
Comments
If there is a pull-up resistor inside the port, you can choose whether to enable it. In this program, the pull-up resistor is enabled, so it will be pulled high. After setting it as an output port, the port is at a high level.
Details
Published on 2019-2-25 10:48
| ||
|
||
|
tiankai001
Currently offline
|
8
Published on 2019-2-25 10:48
Only look at the author
This post is from Embedded System
Comments | |
|
||
|
9
Published on 2019-2-25 10:50
Only look at the author
This post is from Embedded System
Comments
I don't quite understand the circuit. But if he sets the pull-up resistor of this port in the program and sets the port as output, then the level of this port should not be high?
Details
Published on 2019-2-25 11:11
I don't quite understand the circuit. But if he sets the pull-up resistor of this port in the program and sets the port as output, then the level of this port should not be high?
Details
Published on 2019-2-25 11:05
| ||
|
||
|
tiankai001
Currently offline
|
10
Published on 2019-2-25 11:05
Only look at the author
This post is from Embedded System
| |
|
||
|
tiankai001
Currently offline
|
11
Published on 2019-2-25 11:11
Only look at the author
This post is from Embedded System
Comments
How a single chip works cannot be imagined out of thin air, you have to follow the manual. The manual specifies that when the IO port is set to output, the pull-up and pull-down resistors are automatically invalid. Besides, the resistor is not just a pull-up, it can be configured to pull up or pull down according to the settings, all of which need to be checked in the manual.
Details
Published on 2019-2-25 11:21
How a single chip works cannot be imagined out of thin air, you have to follow the manual. The manual specifies that when the IO port is set to output, the pull-up and pull-down resistors are automatically invalid. Besides, the resistor is not just a pull-up, it can be configured to pull up or pull down according to the settings, all of which need to be checked in the manual.
Details
Published on 2019-2-25 11:19
| |
|
||
|
12
Published on 2019-2-25 11:15
Only look at the author
This post is from Embedded System
| ||
|
||
|
13
Published on 2019-2-25 11:19
Only look at the author
This post is from Embedded System
| ||
|
||
|
14
Published on 2019-2-25 11:21
Only look at the author
This post is from Embedded System
Comments
I really didn't read the data sheet. I just checked it out. I took it for granted when answering the question.
Details
Published on 2019-2-25 12:08
I really didn't read the data sheet. I just checked it out. I took it for granted when answering the question.
Details
Published on 2019-2-25 11:54
| ||
|
||
|
tiankai001
Currently offline
|
15
Published on 2019-2-25 11:54
Only look at the author
This post is from Embedded System
| |
|
||
|
tiankai001
Currently offline
|
16
Published on 2019-2-25 11:58
Only look at the author
This post is from Embedded System
| |
|
||
|
tiankai001
Currently offline
|
17
Published on 2019-2-25 12:08
Only look at the author
This post is from Embedded System
Comments | |
|
||
|
18
Published on 2019-2-25 13:03
Only look at the author
This post is from Embedded System
| ||
|
||
|
This post is from Embedded System
Comments
You can first turn on both LEDs and keep them on to see if the brightness of the two LEDs is the same. Then increase the delay time in the main loop to see if there is any change in brightness (you can also shorten the delay time and observe the change in brightness).
Details
Published on 2019-2-25 14:17
| ||
|
||
|
tiankai001
Currently offline
|
20
Published on 2019-2-25 14:17
Only look at the author
This post is from Embedded System
| |
|
||
|
在下载中心贡献超过4000份资料
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