Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed AQM1602 HMC6352 PID
setting/IrConfig.h
- Committer:
- lilac0112_1
- Date:
- 2016-02-01
- Revision:
- 29:b413b0bb07a1
- Parent:
- 28:8ac6c3c1e643
- Child:
- 31:0b0f64831771
File content as of revision 29:b413b0bb07a1:
#ifndef _IR_CONFIG_H_
#define _IR_CONFIG_H_
#define IR_NONE 0
#define IR_FAR 1
#define IR_CLOSE 2
#define IR_CLOSER 3
const double static ir_move_val[4][20][2]={
{
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
{ 0.0000 , 0.0000 },
},
{
{ 0.7071 , 0.7071 },
{ 0.2588 , 0.9659 },
{ -0.2588 , 0.9659 },
{ -0.7071 , 0.7071 },
{ -0.9239 , -0.3827 },
{ -0.3827 , -0.9239 },
{ 0.3827 , -0.9239 },
{ 0.9239 , -0.3827 },
{ 1.0000 , 0.0000 },
{ 0.8660 , 0.5000 },
{ 0.5000 , 0.8660 },
{ 0.0000 , 1.0000 },
{ -0.5000 , 0.8660 },
{ -0.8660 , 0.5000 },
{ -1.0000 , 0.0000 },
{ -0.8660 , -0.5000 },
{ -0.5000 , -0.8660 },
{ 0.0000 , -1.0000 },
{ 0.5000 , -0.8660 },
{ 0.8660 , -0.5000 },
},
{
{ 0.7071 , -0.2828 },
{ 0.7538 , 0.1086 },
{ -0.7538 , 0.1086 },
{ -0.7071 , -0.2828 },
{ -0.0093 , -0.7615 },
{ 0.5319 , -0.5450 },
{ -0.5319 , -0.5450 },
{ 0.0093 , -0.7615 },
{ 0.3000 , -0.7000 },
{ 0.6098 , -0.4562 },
{ 0.5000 , 0.8660 },
{ 0.0000 , 1.0000 },
{ -0.5000 , 0.8660 },
{ -0.6098 , -0.4562 },
{ -0.3000 , -0.7000 },
{ 0.0902 , -0.7562 },
{ 0.4562 , -0.6098 },
{ 0.7000 , -0.3000 },
{ -0.4562 , -0.6098 },
{ -0.0902 , -0.7562 },
},
{
{ 0.7071 , -0.7071 },
{ 0.9659 , -0.2588 },
{ -0.9659 , -0.2588 },
{ -0.7071 , -0.7071 },
{ 0.3827 , -0.9239 },
{ 0.9239 , -0.3827 },
{ -0.9239 , -0.3827 },
{ -0.3827 , -0.9239 },
{ 0.0000 , -1.0000 },
{ 0.5000 , -0.8660 },
{ 0.5000 , 0.8660 },
{ 0.0000 , 1.0000 },
{ -0.5000 , 0.8660 },
{ -0.5000 , -0.8660 },
{ 0.0000 , -1.0000 },
{ 0.5000 , -0.8660 },
{ 0.8660 , -0.5000 },
{ 1.0000 , 0.0000 },
{ -0.8660 , -0.5000 },
{ -0.5000 , -0.8660 },
},
};
#endif /*_IR_CONFIG_H_*/