Quote:
Originally Posted by Philz20
I'm pretty sure you read my post wrong. The IR remote is programmed, but I am talking about the actual code as in C.
|
If you connected the IR board to digital inputs 1-4, then in the code, you use: rc_dig_in01, rc_dig_in02, rc_dig_in03, rc_dig_in04. If the button that you trained first is pressed, rc_dig_in01 is 1. Otherwise, it's 0. The second button is rc_dig_in02, etc.