[請益] 8051中斷問題
MCU:C8051 F120
使用Silicon Laboratories IDE編輯
程式碼:http://dl.dropbox.com/u/104459536/AD9954_single_freq.c
問題:使用Timer4做中斷,當其益位時ChangeAmplitude=1
那麼在main()主程式中的判斷不會成功
且PS0=~PS0;的功能失敗(用示波器看PS0的腳位都一直在logic 1)
請問大大們問題何在 and 如何解決?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.16.46
推
01/19 01:22, , 1F
01/19 01:22, 1F
→
01/19 01:22, , 2F
01/19 01:22, 2F