Mini Infrared Emitter & Receiver Unit

  • I have recently bought the core and atom to test the Mini Infrared Emitter & Receiver Unit. The stock example UI Flow allows me to only get status of IR receiver , while i would like to read from a remote and emulate the same signal.
    Is there a way i can read the input signal and store and emulate the same out ?.
    Like using the existing block and modifying the micropython code, or making a new block with block maker and importing external libraries, or using an arduino C and cross compiling the same to a .mpy file and using the same .
    Any ideas , inputs , examples welcome . really stuck with this .Thanks in advance