Arduino upload options


Is it possible if I will make binary or hex file and upload it into arduino uno it will work? I mean I will write some code in c++ for example and convert it into binary or hex and then upload it. Will it works?


Yes, if you know what you are doing.
If you know what you are doing, you would not be asking the question.
Therefore, you don't know what you are doing.

Arduino HEX file

That's exactly what happens when you upload a sketch using the Arduino IDE. To see the process, turn on verbose output during compilation and upload in File > Preferences, do an upload, then examine the contents of the black console window at the bottom of the Arduino IDE window after the upload finishes. There, you will find the commands used to compile the code and then upload the compiled binary to the microcontroller on the Arduino board.