I know about microcontrollers. I don't know much about it ARDUINO IDE. if I change the microcontroller on board, how can I program the microcontroller using ARDUINO IDE. I just assume if I want to write and test code for ATMEGA328P how to test source code in ARDUINO IDE.
This is just my question and I just want to clear my question
Rehan11:
if I change the microcontroller on board, how can I program the microcontroller using ARDUINO IDE. I
That is not at all clear. Do you mean that you want to replace the Atmega328 on an Uno with a different Atmega328?
The Arduino IDE assumes that there is a bootloader program already on the Atmega328. You can buy the chips with the bootloader already installed or, if you have a functioning Uno and a solderless breadboard you can upload the bootloader onto an new Atmega328 yourself. Nick Gammon has good instructions on his website