發新話題
打印

F330的軟體問題

請在main()內把watchdog timer關閉
// disable watchdog timer
PCA0MD &= ~0x40;   // WDTE = 0 (clear watchdog timer enable)
   
再把port設成push-pull
P0MDOUT=0xff;
試看看.

TOP

發新話題