Final research results on the microcontroller pin arrangement

Publisher:SerendipityJoyLatest update time:2019-05-13 Source: eefocusKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Taking the microcontroller P1 register as an example, there are two arrangements:


The first type: P1^7 is high, that is:

P1^7 P1^6 P1^5 P1^4 P1^3 P1^2 P1^1 P1^0

The second type: P1^0 is high, that is:

P1^0 P1^1 P1^2 P1^3 P1^4 P1^5 P1^6 P1^7


The above two arrangements are always confusing for novices, who don’t know which one is correct. Therefore, the running light test code can be used for verification. 

Use the CT107D development board to verify the running light function. 

The reference code link is: http://download.csdn.net/download/qq_34706280/10260235 

It turns out that the correct arrangement of the microcontroller pins is:


The first type: P1^7 is high, that is:

P1^7 P1^6 P1^5 P1^4 P1^3 P1^2 P1^1 P1^0


Keywords:MCU Reference address:Final research results on the microcontroller pin arrangement

Previous article:51 MCU reads and writes EEPROM (AT24C02)
Next article:Research on the problem that the first two columns of matrix buttons on the CT107D development board do not work

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号