I want to add a IR remote to my ranger.
It is very easy to get ti working in Ardunio IDE connected to my ranger with following code to display the button code to the serial
indent preformatted text by 4 spaces#include <IRremote.h>
int reciver = A11;
IRrecv irrecv(reciver);
decode_results results;
void setup(){
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop(){
if (irrecv.decode(&results)){
Serial.println (results.value, HEX);
irrecv.resume();
}
}
Now I need to create an extension block to use the remote with mblock5. How can I include the needed IRremote library from here https://www.arduinolibraries.info/libraries/i-rremote within the extension??