?? traffic.inc
字號:
PORT1 &= ~0x20; /* set P1.5 to zero: Key Input */
/* define a debug function for the pedestrian push button */
signal void push_key (void) {
PORT1 |= 0x20; /* set P3.0 */
twatch (`Clock*0.05); /* wait 50 msec */
PORT1 &= ~0x20; /* reset P3.0 */
}
/* define a toolbar button to call push_key */
define button "Push for Walk", "push_key ()"
RADIX=10 // decimal output in watch window
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -