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

📄 panasonic_veq1141.h

📁 AVRusb开发的一个电脑遥控器
💻 H
字号:
/*  * Project:       IR-Mouse * File desc.:    This file contains Panasonic VEQ1141 remote codes and timings * Author:        Krzysiek Szczuka * Creation Date: 2007-03-01 * Tabsize:       4 * Copyright:     (c) 2007 by Krzysiek Szczuka * License:       Proprietary, free under certain conditions. See Documentation. * This Revision: $Id: panasonic_veq1141.h,v 1.1 2007/03/01 22:19:35 ksz Exp $ */#ifndef _PANASONIC_VEQ1141_#define _PANASONIC_VEQ1141_#include "defines.h"	// for CYCLES_PER_US/* * Remote timings symbols. Example is for Sanyo PLCXT10A projector's remote: * * ... --------_________---__------__--_ * *  \ | /      |        |  | |     | | ^----- and so on.. *   \|/       |        |  | |     | +------- TZEROH	(Zero Hight) *    |        |        |  | |     +--------- TZEROL	(Zero Low) *    |        |        |  | +--------------- TONEH		(One Hight) *    |        |        |  +----------------- TONEL		(One Low) *    |        |        +-------------------- TSTARTH	(Start Hight) *    |        +----------------------------- TSTARTL	(Start Low) *    +-------------------------------------- no ir signals *//* * times are:  *  TIMEus * CYCLES_PER_US / 8   *//* 	Times for Panasonic VEQ1141 remote, from http://lirc.org/remotes/:	header       3565  1604	one           531   327	zero          531  1265*/# define TSTARTL	(3400 * CYCLES_PER_US / 8)# define TSTARTH	(1500 * CYCLES_PER_US / 8)# define TONEL		(450  * CYCLES_PER_US / 8)# define TONEH		(250  * CYCLES_PER_US / 8)# define TZEROL		(450  * CYCLES_PER_US / 8)# define TZEROH		(1100 * CYCLES_PER_US / 8)/* *  * initial timer0 value (after this time program checks, that we still have ir * data receiving..)  * 25000 is time in us */# define TCNT0V		(0xFF - (25000 * CYCLES_PER_US / 1024))// buttons codes# define CLMB		0xFFFF9F96	// left button# define CRMB		0xFFFFcFc6	// right button# define CDOWN		0xFFFFAFA6	// down# define CUP		0xFFFFFFF6	// up# define CLEFT		0xFFFFbfb6	// left# define CRIGHT		0x00003f36	// right# define CRMBH		0xFFFF0F06	// rmb, hold on// they're just for no compiler's errors# define CDOWNH		0xb0ae04FF	// down, hold on# define CUPH		0xb0fe89FF	// up, hold on# define CLEFTH		0xb0265dFF	// left, hold on# define CRIGHTH	0xb0da1cFF	// right, hold on//# define CLMBH	CLMB		// left button with hold on#endif	// _PANASONIC_VEQ1141_

⌨️ 快捷键说明

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