send ir

Hello everybody,

My task is to send ir code. I want to send it to my TV and decoder also.

Which function should i use to send signal to my tv if i have samsung and which function to send to my decoder??

Is it enough if i have long int variable with button from my remote controller for example -522174273

My protocol is -1.

I am using I.remote library from sherriff

Thanks a lot !