demonspells
Joined: 06 Jan 2011 Posts: 26
|
RC5 IR Remote |
Posted: Wed Feb 09, 2011 7:36 am |
|
|
hey
I'm having a problem writing a code to recognize my IR remote.
I've analyzed my remote using WinLIRC and got the following data:
Code: |
begin remote
name Remote
bits 13
flags RC5|SHIFT_ENC|CONST_LENGTH
eps 30
aeps 100
one 906 885
zero 906 885
plead 946
gap 113936
min_repeat 2
toggle_bit 2
begin codes
Mute 0x000000000000128D
Ext 0x00000000000012B8
TV_Recordings 0x00000000000012A3
TV_Off 0x000000000000128C
1 0x0000000000001281
2 0x0000000000001282
3 0x0000000000001283
4 0x0000000000001284
5 0x0000000000001285
6 0x0000000000001286
7 0x0000000000001287
8 0x0000000000001288
9 0x0000000000001289
0 0x0000000000001280
my_Music 0x0000000000000293
Record 0x000000000000128A
Info 0x000000000000028F
Menu 0x0000000000000292
Channel_Up 0x00000000000012A0
Channel_Down 0x00000000000012A1
Volume_Down 0x0000000000001291
Volume_Up 0x0000000000001290
OK 0x0000000000000297
TV_Guide 0x00000000000012AF
Home 0x00000000000012A2
Red 0x00000000000002AB
Green 0x00000000000002AC
Yellow 0x00000000000002AD
Blue 0x00000000000002AE
CHECK 0x00000000000002B6
Videotext 0x00000000000012BC
Stop 0x00000000000012A9
Help 0x000000000000128F
end codes
end remote
|
Now I intend to adjust a code in this thread.
http://www.ccsinfo.com/forum/viewtopic.php?t=26226
But I can't figure a way to adjust timing for '1' and '0'.
P.S. I'm using a 4Mhz Crystal, PIC18F452 and TSOP1738 |
|