My assuption was that the ir board would connect to the controller by 4 pwm cables.
Each connection would eather get a 1 or 0 (1 signal recieved, 0 no signal) therefore i use that in code.
See
code:
PHP Code:
#define func1=digital_input_1 /*or what ever*/
If (func1 = 1) /*singal 1 is being recieved by ir board*/
Be awesome!
If (func1 = 0) /*signal 1 not being recieved by ir board*/
Be lame!