Micro:bit -> IR send and receive


I am looking for a solution to directly connect infrared led and infrared reception (TSOP)

I found only one GitHub that should work for this correctly:

when I install it there is an error message and I don’t know how to fix it?

Do you have a solution to manage infrared in SONY or NEC code?

Thank you,