How to make "One button with binary code and Data transmission"

1 writing binary codes with one button.
2 understanding by arduino and do someting when spesific binary code

English is not my first language. i am sorry if i was not being understandable.

True. Try using Google Translate. Also, are you interfacing with software running on a PC? If not, you posted in the wrong sub-forum.

If you have code, post it. We all understand code.

1 writing binary code with a button and doing anything with these codes
2 there were too many categories and the category selection part was not clear. i am sorry for that.

This won't work. Nobody could understand that (well, #2 was clear). Please post using Google Translate.

I already used

Then you didn't explain anything to Google.

Which category should I choose?

Forget that for now, a moderator can move the post. Just tell us a lot more about your problem.

i want data transmission like IR.

Use the IR library.

but i won't use IR components.

I mean, Just tell us a lot more about your problem.

That leaves about 1,000,000,000 components you might use. What would you use?

i dont have problem. i want use one button and Serial.print(binary code with button)

Great. Please mark the thread as "solved".

i want just how to use code. i want learn how to use.
writing binary with one thing

You are continuously ignoring my request for more information. Good luck with your project.

When you press the button twice, it will write 11 in serial
When you press the button and wait and press, it will write 101 in serial

What have you tried so far? Please post the code.

i dont have a code. i want learn how to write,use