閃閃雪絨花:
有用,但是不同的芯片還是有一些不一樣,比如IO口外圍電路設計,門道我覺得挺多的,必須看IO口內部電路是什么樣子的,有些芯片有三態門。比如CC2530,但是官方資料卻建議:1.上拉且設置為通用IO輸入2.通用IO輸出。 原文如下: OnewaytodothisistoleavethepinunconnectedandconfigurethepinasageneralpurposeI/Oinputwithpull-upresistor.AlternativelythepincanbeconfiguredasageneralpurposeI/Ooutput.InbothcasesthepinshouldnotbeconnecteddirectlytoVDDorGND inordertoavoidexcessivepowerconsumption. 這個應該也是很有借鑒的吧