wulin 發(fā)表于 2023-4-27 06:05
由于你DisplayScan函數(shù)中用了死循環(huán)while(1)并放在中斷中運行,一旦進(jìn)入中斷就再也出不來。
angmall 發(fā)表于 2023-4-27 08:27
你的顯示掃描函數(shù)有問題。
coody_sz 發(fā)表于 2023-4-27 10:10
因為你的程序永遠(yuǎn)在中斷里調(diào)用的 DisplayScan(),不退出,根本就沒有運行其余程序。
Hephaestus 發(fā)表于 2023-4-27 15:09
運算放主循環(huán)里面,中斷只負(fù)責(zé)顯示好了,最基本的編程思路都不對。
歡迎光臨 (http://www.torrancerestoration.com/bbs/) | Powered by Discuz! X3.1 |