PDA

View Full Version : PIR-1 free commandline IR sender.



kinetic
July 14th, 2013, 08:19 AM
How do I find free commandline IR sender.
And, how do I install/use it?

Ron
July 14th, 2013, 11:48 AM
download the SDK from the PIR-1 webpage.

http://promixis.com/PIR-1-SDK-1.0.3.zip

kinetic
July 15th, 2013, 08:06 AM
I downloaded the SDK and unzipped.
There is one .exe file.
Running the .exe flashes a screen then does nothing.
How do I use the file?

Thank You.

Ron
July 15th, 2013, 08:11 AM
The window that 'flashes' by has the explanation on how to use it.



PIRLIB EXAMPLE Applicationq
To listen for IR signals type PIRLIB_EXAMPLE listen
To set digital IO PIRLIB_EXAMPLE CMD VAL
To send an IR code type PIRLIB_EXAMPLE <BITMASK> <REPEAT> "<IRCODE>"
e.g. PIRLIB_EXAMPLE 2 0 "0000 006E 0022 0022 0156 00A9 0015 0012 0015 003E 0015 003E 0015 003E 0015 0012 0015 003E 0015 003E 0015 0012 0015 003E 0015 0012 0015 0015 0015 0015 0015 003E 0015 0012 0015 0015 0015 003E 0015 0012 0015 003E 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003E 0015 0015 0015 003E 0015 003E 0015 003E 0015 003E 0015 003E 0015 003E 0015 05EF 0156 00A9 0015 0015 0015 003E 0015 003E 0015 003E 0015 0015 0015 003E 0015 003E 0015 0015 0015 003E 0015 0015 0015 0015 0015 0015 0015 003E 0015 0015 0015 0015 0015 003E 0015 0015 0015 003E 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003E 0015 0015 0015 003E 0015 003E 0015 003E 0015 003E 0015 003E 0015 003E 0015 05EF"

kinetic
July 15th, 2013, 08:47 AM
O.K.
Managed to get the response you show.
Win 7: clicking PIRLIB_EXAMPLE.exe flashes a screen quickly with no message.
Running the same program from a DOS window gives the response you show.

Ron
July 15th, 2013, 09:28 AM
Yep. It's a command line tool. As you asked in your first question.