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-02
- Revision:
- 31:0b0f64831771
- Parent:
- 29:b413b0bb07a1
- Child:
- 33:7fab3eb2b929
File content as of revision 31:0b0f64831771:
#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.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.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 },
},
};
#endif /*_IR_CONFIG_H_*/