Your codes for Vid1 and Vid4 are identical. Therefore, if you don't find a different set of numbers, you can use either Vid1 or Vid4 but not both.
I realize you are new here. Welcome to the addition by the way.
And yes, if you don't begin to help yourself, you will REALLY be flamed by me personally on your very next post on this subject. Why? Simply because you keep posting the same questions over and over in new threads. Also, it does not appear that you've even tried to do anything other than post and whine. Did you search for NEC.irp, NEC1.irp, Makehex, etc...
I just did a 2 year search across all forums for +instructions +for +MakeHex and got 93 threads. The 10th one, entitled Using Makehex is very interesting.
[Link: remotecentral.com]Sorry if I'm a bit gruff, an ass, and this thread rambles a bit. You have no idea how many times both John Fine and myself have had to outline the exact steps to run Makehex. I don't either. But let me tell you, over 5 years in this forum, it's definitely ALOT.
I have to ask, have you even downloaded makehex from the Pronto Files section and looked @ it? There's a readme file that comes with it. Please read that file.
You should be editing and using the file NEC1.irp. You edit this file and use a device ID of 80.
The codes that it generates will have decimal function numbers. The functions you listed above are as follows.
21 = 33 decimal
22 = 34 decimal
23 = 35 decimal
21 = 33 decimal (same as Vid 1)
3D = 61 decimal
3E = 62 decimal
3F = 63 decimal
To understand what the original numbers mean and why there are 4 sets, I highly suggest you read up on the NEC protocol in a wonderful document in the user documentation section of the Pronto Files section about Pronto Hex IR format. This document was provided by Barry Gordon and goes to extreme lengths to describe the long codes (that begin with 0000) for both the Sony and NEC protocols.
The numbers you posted are shortened (9001) versions of the codes that you were told to use in previous threads. Either you could not figure out how to use the numbers or the "shortened" versions did not work. Threfore, you MUST use the longer versions. You can use MakeHex to easily generate these longer versions.
If you've read the thread I posted above, things will make a bit more sense. Hitachi uses the NEC protocol. When using Makehex, you will be using the file NEC1.irp.
Here's the breakdown of the numbers you posted using Power Off as the example:
Power Off = 50AF 3FC0 (Format: Device, 1's complement of device, Function, 1's complement of Function)
Device ID=0x50 - 1's complement (0xFF-DeviceID) = 0xAF
Function Code =0x3F - 1's complement (0xFF-0x3F) = 0xC0
To generate a code, you need to be concerned with the Device ID and Function ID.
Hence, you use Device id 0x50 (80 in decimal by Windows Calculator in Scientific mode calculations) and select all 256 function in NEC1.irp using 0..255. Then, all you have to do is to look at the Hitachi PDF and convert the function code
So, the first 2 lines of NEC1.irp should look like:
Device=80
Function=0..255
Next, from a command line where you installed makehex, run the following:
makehex NEC1.irp
Then, in the same folder, there should be a file named NEC1.hex. Open this file from notepad and copy the data for the following functions that you indicated you needed (33, 34, 35, 61, 62, and 63).
21 = 33 decimal
22 = 34 decimal
23 = 35 decimal
21 = 33 decimal (same as Vid 1)
3D = 61 decimal
3E = 62 decimal
3F = 63 decimal
You've got work to do so please, go and do it. I hope to not see another post on this subject until after you've read the documentation by Barry, tried using Makehex and tested the codes it generates!!!
Best of Luck. PLEASE don't post back until you at least try.