I also want to know how to use that programmer. Should I just fit in my ATMega328P into the Microcontroller slot you see in the picture on Ebay (The site is in the above link).
VishalSubramanyam:
I have a doubt. I want to know whether programming a standalone Arduino Bootloader loaded ATMega328P with Arduino C language instead of the standard C language would work.
Yes.
VishalSubramanyam:
I also want to know how to use that programmer. Should I just fit in my ATMega328P into the Microcontroller slot you see in the picture on Ebay (The site is in the above link).
You can program atmega328p with Arduino C. (First set the fuses).
To program with programmmer conect the atmega328p to the conector (not the socket/slot, dont remove that microcontroller because its the core of the programmer). The conector is called avr isp and it has two versions, isp 10 pins and isp 6 pins. Both work the same way, just google "avr isp pinout", and then google "atmega328p" pinout . You have to connect MISO, MOSI, SCK, VCC , GND and RESET.
int led = 13;
setup() {
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}