📄 lv20x0.pas
字号:
LV_PRESET_GET_ZOOM_STATUS = $7F000000; // Get status of zoom tracking in internal preset mode
// return value (in pucReturn1):
// 0 - completed, 1 - in progress
// ~~~ LV2010 ~~~
LV_PRESET_LOAD_INT_SLOW_B1 = $7D; // Load preset and move zoom (with slow tracking) and focus to it
// byte 2 - index in EEPROM (0..63)
LV_PRESET_LOAD_INT_FAST_B1 = $7E; // Load preset and move zoom (with fast tracking) and focus to it
// byte 2 - index in EEPROM (0..63)
LV_PRESET_LOAD_EXT_SLOW_B1 = $7B; // Load and set preset (with slow zoom tracking)
// byte 2 - index 0..7
LV_PRESET_LOAD_EXT_FAST_B1 = $7C; // Load and set preset (with fast zoom tracking)
// byte 2 - index 0..7
// ~~~ LV2020 ~~~
LV_PRESET_LOAD_INT_AUTO_B1 = $7D; // Load preset and move zoom (with auto zoom tracking) and focus to it
// byte 2 - index in EEPROM (0..63)
LV_PRESET_LOAD_INT_MAN_B1 = $7E; // Load preset and move zoom (with manual zoom tracking) and focus to it
// byte 2 - index in EEPROM (0..63)
// *** ZOOM ********************************************************************
// ~~~ LV2000 ~~~
LV_DZOOM_2000_SET_POWER_2 = $52000000; // Set Digital Zoom max. power to 2x (total 32x)
LV_DZOOM_2000_SET_POWER_3 = $52010000; // Set Digital Zoom max. power to 3x (total 48x)
LV_DZOOM_2000_SET_POWER_4 = $52020000; // Set Digital Zoom max. power to 4x (total 64x)
LV_DZOOM_2000_SET_POWER_5 = $52030000; // Set Digital Zoom max. power to 5x (total 80x)
LV_DZOOM_2000_SET_POWER_6 = $52040000; // Set Digital Zoom max. power to 6x (total 96x)
LV_DZOOM_2000_SET_POWER_7 = $52050000; // Set Digital Zoom max. power to 7x (total 112x)
LV_DZOOM_2000_SET_POWER_8 = $52060000; // Set Digital Zoom max. power to 8x (total 128x)
// ~~~ LV2010, LV2020 ~~~
// note that LV2010 has different numbers in comparison with LV2000
LV_DZOOM_SET_POWER_2 = $52020000; // Set Digital Zoom max. power to 2x
LV_DZOOM_SET_POWER_3 = $52030000; // Set Digital Zoom max. power to 3x
LV_DZOOM_SET_POWER_4 = $52040000; // Set Digital Zoom max. power to 4x
LV_DZOOM_SET_POWER_5 = $52050000; // Set Digital Zoom max. power to 5x
LV_DZOOM_SET_POWER_6 = $52060000; // Set Digital Zoom max. power to 6x
LV_DZOOM_SET_POWER_7 = $52070000; // Set Digital Zoom max. power to 7x
LV_DZOOM_SET_POWER_8 = $52080000; // Set Digital Zoom max. power to 8x
LV_DZOOM_SET_POWER_B1 = $52; // Set Digital Zoom Power - byte 1
// byte 2 = zoom power 2..8
LV_DZOOM_GET_POWER = $AA8F0000; // Get Digital Zoom Power
// return value (in pucReturn1):
// 2...8
LV_ZOOM_B1 = $AA; // Zoom commands first byte
LV_ZOOM_STOP_B2 = $51; // Stop zoom
LV_ZOOM_TELE_B2 = $52; // Zoom to TELE with defined speed
// 3rd byte - speed 1..12
LV_ZOOM_WIDE_B2 = $53; // Stop to WIDE with defined speed
// 3rd byte - speed 1..12
LV_DZOOM_SET_ON = $AA6E0100; // Switch digital zoom ON
LV_DZOOM_SET_OFF = $AA6E0000; // Switch digital zoom OFF
// *** DAY&NIGHT MODE **********************************************************
// ~~~ LV2020 ~~~
LV_DAY_NIGHT_SET_ON = $83010000; // Set Day&Night mode on
LV_DAY_NIGHT_SET_OFF = $83000000; // Set Day&Night mode off
LV_DAY_NIGHT_GET = $82000000; // Get Day&Night mode
// return value (in pucReturn1):
// 0=off, 1=on
// *** INTEGRATION MODE ********************************************************
// ~~~ LV2020 ~~~
LV_INTEGRATION_SET_ON = $AA5F0100; // Set integration mode on
LV_INTEGRATION_SET_OFF = $AA5F0000; // Set integration mode off
// requires AUTO or Iris Fix mode
LV_INTEGRATION_SET_FIELDS_B1= $AA; // Set integration max fields value - byte 1
LV_INTEGRATION_SET_FIELDS_B2= $5E; // Set integration max fields value - byte 2
// byte 3 = number of fields 0..128
// the number must be even (2, 4, 6, ...)
LV_INTEGRATION_GET_FIELDS = $AA5D0000; // Get integration max fields value
// return value (in pucReturn1):
// 0..128 (even number)
// *** BACKLIGHT ***************************************************************
LV_BACKLIGHT_GET = $AA610000; // Get Backlight level
LV_BACKLIGHT_SET_B1 = $AA; // Set backlight level - byte 1
LV_BACKLIGHT_SET_B2 = $62; // Set backlight level - byte 2
// byte 3 - level 10..40 by LV2000
// byte 3 - level 102..255 by LV2010
// ~~~ LV2010, LV2020 ~~~
LV_BACKLIGHT_SET_AUTO_ON = $AA6D0100; // Set auto backlight mode ON
LV_BACKLIGHT_SET_AUTO_OFF = $AA6D0000; // Set auto backlight mode OFF
LV_BACKLIGHT_SET_ON = $AA700100; // Set backlight mode ON (only when Auto is OFF)
LV_BACKLIGHT_SET_OFF = $AA700000; // Set backlight mode OFF (only when Auto is OFF)
LV_BACKLIGHT_STORE_ON = $AA560000; // Set backlight mode ON and save it to EEPROM
LV_BACKLIGHT_STORE_OFF = $AA570000; // Save backlight mode OFF and save it to EEPROM
LV_BACKLIGHT_GET_AREA = $84000000; // Get auto backlight area
// return value (in pucReturn1):
// bits 0..4 - corresponding area is 1=ON/0=OFF
// -------------------
// | 0 |
// |-----------------|
// | 2 | 4 | 3 |
// |-----------------|
// | 1 |
// -------------------
LV_BACKLIGHT_SET_AREA_B1 = $85; // Set auto backlight area - byte 1
// byte 2 - bits 0..4 - area x is 1=ON/0=OFF
LV_BACKLIGHT_DISPLAY_AUTO_AREA = $86010000; // Set auto backlight area display ON
LV_BACKLIGHT_HIDE_AUTO_AREA = $86000000; // Set auto backlight area display OFF
// *** ON SCREEN DISPLAY *******************************************************
// ~~~ LV2010, LV2020 ~~~
LV_OSD_GET_MENU = $AA8D0000; // Get menu OSD display ON/OFF
// return value (in pucReturn1):
// 0 - not displayed
// 1 - displayed
LV_OSD_SET_MENU_ON = $AA630100; // Set menu OSD display ON
LV_OSD_SET_MENU_OFF = $AA630000; // Set menu OSD display OFF
LV_OSD_SET_ENGLISH = $87000000; // Set OSD language to English
LV_OSD_SET_KOREAN = $87010000; // Set OSD language to Korean
LV_OSD_SET_CHINESE = $87020000; // Set OSD language to Chinese
LV_OSD_GET_MODE = $AA8E0000; // Get Operating OSD Display mode
// return value (in pucReturn1):
// 0 - whole OSD is off
// 1 - Only top line ON
// 2 - Only bottom line ON
// 3 - Whole OS is ON (without cam. ID)
LV_OSD_SET_MODE_ALL_OFF = $AA640000; // Set Operating OSD Display mode - whole OSD is off
LV_OSD_SET_MODE_TOP = $AA640100; // Set Operating OSD Display mode - Only top line ON
LV_OSD_SET_MODE_BOTTOM = $AA640200; // Set Operating OSD Display mode - Only bottom line ON
LV_OSD_SET_MODE_ALL_ON = $AA640300; // Set Operating OSD Display mode - Whole OS is ON
// *** SHARPNESS ***************************************************************
// ~~~ LV2010, LV2020 ~~~
LV_SHARPNESS_GET = $AA880000; // Get sharpness
// return value (in pucReturn1):
// 0..15
LV_SHARPNESS_SET_B1 = $AA; // Set sharpness - byte 1
LV_SHARPNESS_SET_B2 = $79; // Set sharpness - byte 2
// byte 3 - sharpness 0..15
// *** BRIGHTNESS **************************************************************
// ~~~ LV2010, LV2020 ~~~
LV_BRIGHTNESS_GET = $AA890000; // Get brightness
// return value (in pucReturn1):
// 0..99
LV_BRIGHTNESS_SET_B1 = $AA; // Set brightness - byte 1
LV_BRIGHTNESS_SET_B2 = $7A; // Set brightness - byte 2
// byte 3 - brightness 0..99 (default=30)
// *** DIGITAL EFFECTS *********************************************************
// ~~~ LV2010, LV2020 ~~~
LV_DIGEFF_GET = $AA820000; // Get digital effect status
// return value (in pucReturn1):
// bit 0 - Cinema (1=ON, 0=OFF)
// bit 1 - Art
// bit 2 - Mirror
// bit 4 - 80% Negative - LV2020 only
// bit 3 - 100% Negative
// bit 5 - Mono
// bit 6 - Mosaic
LV_DIGEFF_SET_COLOR_ON = $AA710100; // Set Color mode to ON
LV_DIGEFF_SET_COLOR_OFF = $AA710000; // Set Color mode to OFF
LV_DIGEFF_SET_NEG_100_ON = $AA720100; // Set 100% negative mode to ON
LV_DIGEFF_SET_NEG_100_OFF = $AA720000; // Set 100% negative mode to OFF
LV_DIGEFF_SET_MIRROR_ON = $AA7F0100; // Set full mirror to ON
LV_DIGEFF_SET_MIRROR_OFF = $AA7F0000; // Set full mirror to OFF
LV_DIGEFF_SET_FLICKERLESS_ON = $AA740100; // Set flickerless mode to ON
LV_DIGEFF_SET_FLICKERLESS_OFF= $AA740000; // Set flickerless mode to OFF
LV_DIGEFF_SET_FADE_ON = $AA540000; // Set fade to ON
LV_DIGEFF_SET_FADE_OFF = $AA550000; // Set fade to OFF
// ~~~ LV2020 ~~~
LV_DIGEFF_SET_NEG_80_ON = $AA7E0100; // Set 80% negative mode to ON
LV_DIGEFF_SET_NEG_80_OFF = $AA7E0000; // Set 80% negative mode to OFF
// *** RESET *******************************************************************
LV_RESTART = $4F000000; // Reset the camera's microcontroller
// *** CAMERA STATUS ***********************************************************
// ~~~ LV2010, LV2020 ~~~
LV_STATUS_GET_1 = $AA800000; // Get camera status - part 1
// return value (in pucReturn1):
// bit 0 - Initial Menu data (1=yes, 0=not)
// bit 1 - Digital zoom (1=ON, 0=OFF)
// bit 2 - Focus (1=Push_Auto, 0=Auto/Manual)
// bit 3 - FlickerLess (1=ON, 0=OFF)
// bit 4 - Backlight (1=ON, 0=OFF)
// bit 5 - AWC (1=Push, 0=Lock)
// bit 6 - Camera ID Display (1=ON, 0=OFF)
// bit 7 - Focus (1=manual, 0=auto)
LV_STATUS_GET_2 = $AA810000; // Get camera status - part 2
// return value (in pucReturn1) for LV2010:
// bit 0 - Auto Backlight (1=ON, 0=OFF)
// bit 1 - AF Sensitivity (1=low, 0=high)
// bit 2 - AE Sensitivity (1=low, 0=high)
// bit 3,4 - Zoom speed (00-Slow, 01-Medium, 10-High)
// return value (in pucReturn1) for LV2020:
// bit 0 - Auto Backlight (1=ON, 0=OFF)
// bit 1 - Day&Night (1=ON, 0=OFF)
// bit 2 - Auto Day&Night (1=ON, 0=OFF)
// bit 5 - Low Shutter (1=ON, 0=OFF)
LV_STATUS_SET_1_B1 = $89; // Set camera status - part 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -