IRremote Library - Deprecated Function Call

shawn_t:
Thank you very much - I was browsing through the API documentation and the official website.

I am still however slightly confused on how to use this.

Can I please be provided with a link for further reading or a code snippet.

Thanks

I have checked through the example sketches.

I am unsure as to how to get the HEX values from the decode object. (If it is called an object - I'm not familiar with object orientated programming).

All the example sketches call functions to print various information to the serial monitor on the protocol, timing and HEX code of each button press. I can obviously see the HEX code for each button, but don't know how to obtain and assign it to a variable.

I need to do a switch case statement for volume up and volume down pressed which will control a H-bridge circuit.