⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 servocmd.c

📁 一个不错的硬盘播放器程序,包含VFD显示程序,红外线遥控程序,硬盘读写程序,及解码程序等.
💻 C
字号:
/* Copyright 1997, ESS Technology, Inc.		*//* SCCSID @(#)servocmd.c	1.3 1/16/98 *//* * $Log$ *//*unsigned char mute_cmd[] = {0x0,0x3,0xa,0xff};*/unsigned char mute_cmd[] = {0x0,0x2,0xa,0xff};unsigned char unmute_cmd[]={0x0,0x0,0xa,0xff};unsigned char reset_cmd1[]={0x0,0x3,0xa,0xff};/*unsigned char focus_cmd1[]={0x0,0x0,0x0,0x4,0xff,0x0,0x0,0xff,0x5,0x5,0xff};*/unsigned char focus_cmd1[]={0x0,0x0,0x0,0x4,0xff,0x0,0x0,0xff,0xa,0x5,0xff};unsigned char focus_cmd11[]={0x0,0x0,0x0,0x8,0xff,0x0,0x0,0xa,0xff,0x0,0x6,                             0xc,0xff,0x0,0x0,0x6,0xd,0xff};unsigned char focus_cmd2[]={0x0,0xb,0x9,0xff,0x0,0x0,0x7,0x4,0xff};unsigned char focus_cmd3[]={0x0,0x0,0x0,0x4,0xff};/* *  unsigned char track_jump_time1[]={0x5,0x5,0xff}; */unsigned char track_jump_time16[]={0x7,0x5,0xff,0x0,0x1,0x6,0xff,0x8,0x0,0x0,                                   0x0,0x7,0xff};unsigned char track_jump_time32[]={0x7,0x5,0xff,0x0,0x1,0x6,0xff,0x0,0x1,0x0,                                   0x0,0x7,0xff};unsigned char track_jump_time64[]={0x7,0x5,0xff,0x0,0x1,0x6,0xff,0x0,0x2,0x0,                                   0x0,0x7,0xff};unsigned char track_jump_time128[]={0x7,0x5,0xff,0x0,0x2,0x6,0xff,0x0,0x4,0x0,                                    0x0,0x7,0xff};unsigned char track_jump_time240[]={0x8,0x5,0xff,0x0,0x4,0x6,0xff,0x0,0x8,0x0,                                    0x0,0x7,0xff};/* *  unsigned char track_jump_in_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x8,0x4,0xff}; */unsigned char track_jump_in_cmd16[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd32[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd64[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd128[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd240[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};/* *  unsigned char track_jump_out_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x9,0x4,0xff}; */unsigned char track_jump_out_cmd16[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd32[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd64[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd128[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd240[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_cancelcmd[]={0x0,0x0,0x0,0x4,0xff,0x8,0x1,0xff,0x8,                                      0x0,0xff,0x5,0x2,0xff};unsigned char clvon_cmd1[]={0x0,0x0,0x8,0xe,0xff};unsigned char clvon_cmd2[]={0x00,0x0,0x6,0xe,0xff,0x4,0x2,0xff,0x8,0x1,0xff};unsigned char clvon_cmd3[]={0x5,0x2,0xff,0x8,0x0,0xff,0x8,0x1,0xff};unsigned char stop_cmd1[]={0x4,0x2,0xff,0x0,0x0,0xa,0xe,0xff};unsigned char stop_cmd2[]={0x0,0x0,0x0,0x4,0xff,0x0,0x0,0x0,0xe,0xff,0x0,0x2,                           0xff,0x0,0x0,0xff};/* *  unsigned char sled_in[]={0x3,0x2,0xff}; *  unsigned char sled_out[]={0x2,0x2,0xff}; *  unsigned char sled_stop[]={0x0,0x2,0xff}; *  unsigned char test_cmd1[]={0x8,0x1,0xff}; */#ifdef CMDINROMunsigned char track_jump_time1[]={0x5,0x5,0xff};unsigned char track_jump_in_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x8,0x4,0xff};unsigned char track_jump_out_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x9,0x4,0xff};unsigned char sled_in[]={0x3,0x2,0xff};unsigned char sled_out[]={0x2,0x2,0xff};unsigned char sled_stop[]={0x0,0x2,0xff};unsigned char test_cmd1[]={0x8,0x1,0xff};#endif CMDINROM

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -