看板 Programming 關於我們 聯絡資訊
※ 引述《AKIRATOYA.bbs@ptt.cc (囧)》之銘言: > INT0: 開始左移跑馬燈 > INT1:停止 > 雖然不難.. > 可是沒有頭緒.. initial51(); set_isr(); CLR C LOOP: if (_led_run_) wait_a_mount(); MOV A,LED_port RLC A MOV LED_port,A endif goto LOOP isr_int0: _led_run_ = 1; isr_int1: _led_run_ = 0; -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: h23-74.grad.ccit.edu.tw