?? hemon.inc
字號:
;****************************************************************
;* HEARTBEAT MONITOR - HeMon *
;* BY KEITH WILSON *
;* VERSION 1 *
;****************************************************************
;Port A definitions
PORTA_CONFIG1 equ 0xf8 ;bit4: in,in,out,out,out :bit0
LED_DIGIT1 equ 0 ;7-segment display select 1's
LED_DIGIT2 equ 1 ;7-segment display select 10's
LED_DIGIT3 equ 2 ;7-segment display select 100's
HEARTBEAT_SENSOR equ 3 ;heatbeat signal from sensor
;NOT USED equ 4 ;not used
;Port B definitions
PORTB_CONFIG1 equ 0x00 ;bit7: out,out,out,out,out,out,out,out :bit0
LED_SEGa equ 0x01 ;7-segment display segment A
LED_SEGb equ 0x02 ;7-segment display segment B
LED_SEGc equ 0x04 ;7-segment display segment C
LED_SEGd equ 0x08 ;7-segment display segment D
LED_SEGe equ 0x10 ;7-segment display segment E
LED_SEGf equ 0x20 ;7-segment display segment F
LED_SEGg equ 0x40 ;7-segment display segment G
;NOT USED equ 0x80 ;not used
LED_BLANK equ 0x00
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -