How to use Arduino UNO as ISP to burn bootloader AND upload program to ATMEGA328?
I am new with Arduinos. Well actually, I know nothing about it.
My friend bought me an Arduino UNO because he knows I like building stuff.
I have a project that I want to carry out, but I just do not know how to program an AVR!
I searched online for hours, but I can't seem to find the exact step-by-step guide I need.
Basically, I want a step-by-step guide showing how to burn a bootloader to a target AVR using an Arduino UNO, AND how to upload the program to the target AVR. (It would also be great if someone could explain to me how the hex file works... I already have all the code and the files I need for my project, and it's got a .c file, and a .hex file. I know that .c file has the C language program in it, and the hex file is the compiled program that gets put into the microcontroller, but I do not know what to do with them...)
Any help is greatly appreciated!