Quantcast
Channel: MSP 低功耗微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 3634

MSP430G2553 P2 I/O 驅動LED 問題

$
0
0

MSP430G2553 的 P2.6 &P2.7 我拿來當一般的I/O 使用,用它來驅動LED

 P2DIR |= BIT7; 我設完後,它的輸出有3V 可是我串一顆300歐姆的電阻然後再接一顆LED 時,

卻無法點亮LED 電壓剩下1.5V ,

P2.7 要當一般I/O 使用時,需要再設定哪些參數嗎?


Viewing all articles
Browse latest Browse all 3634

Trending Articles