Re: 請問picc設定i/o 可以1pin,1pin的設定嗎?
|
||||
---|---|---|---|---|
版主
|
Read-modify-write 問題,參考一下: http://www.microchip.com.tw/modules/w ... lefile.php?cid=18&lid=303
加個 nop( ); GPIO0 = 1; nop(); GPIO1 = 0; nop(); GPIO2 = 0; delay(20); GPIO0 = 0; nop(); GPIO1 = 1; nop(); GPIO2 = 0; delay(20); GPIO0 = 0; nop(); GPIO1 = 0; nop(); GPIO2 = 1; delay(20);
發表於: 2009/9/23 13:57
|
|||
|
Re: 請問picc設定i/o 可以1pin,1pin的設定嗎?
|
||||
---|---|---|---|---|
中級會員
|
請大家指導1下 拜託拜託
發表於: 2009/9/22 8:37
|
|||
|
Re: 請問picc設定i/o 可以1pin,1pin的設定嗎?
|
||||
---|---|---|---|---|
初級會員
|
感覺沒錯誤
我也想知道哪裡出問題
發表於: 2009/9/21 8:25
|
|||
|