how to write a wireless command

hey,
I'm trying to write a program that it control 8 LEDs .
I don't know how to write a data tram and send it to the receptor via a IR.
thank ù

Have a look here for an IR library with code:

https://www.pjrc.com/teensy/td_libs_IRremote.html

I don't know how to write a data tram

Or even how to explain what a "data tram" is.

and send it to the receptor via a IR.

Or how to explain what IR sender is being used or how it is attached.

Or even how to explain what a "data tram" is.

data trame is the bits like( 10001100),

Or how to explain what IR sender is being used or how it is attached.

IR is InfraRouge (InfraRed in english),
I want to write a programm to send data via Infrared Remote Control to control 8 LEDs

data trame is the bits like( 10001100),

So, you'll want to take a look at bitSet(), bitClear(), bitWrite(), etc.

IR is InfraRouge (InfraRed in english),

I know what an IR is, but I still don't know which IR you have or whether it is in your pocket or connected to the Arduino. It if is connected, I have no idea how.