Added IRremote library (with a few changes made by me)
Included "IRremote" library. A few changes needed to make it work:
- Added function getIRCode()
- New pin mode IR_RECV
- Added a list of 6 IRrecv, one per analog pin.
- Changed setMode() to initialize an IRrecv if necessary.
Included "IRremote" library.
- Added two new request commands RQ_ATTACH_IR_RECV and RQ_DETACH_IR_RECV
- Added pinModes[18] array.
- Added irReceivers[6] array.
- Changed executeDigitalPinMode(), executeActivateDigitalPort(), executeAttachServo(), and executeDetachServo() to update the pinModes array.
- Added executeAttachIRReceiver() and executeDetachIRReceiver() functions.
- Updated sendAnalogValues() to check the pin mode and in case of IR receiver attached, send its remote code.