Basic AVR based Microcontroller Codes
use the script run.sh for uploading the avr code onto the microcontroller
- Download and open the script.
- Change MUC name from atmega32 and m32 to whatever you are using
- Change the programmer name from USBASP to whatever you are using
- run the script as sudo ./run.sh codename.c
You can use the run.bat in the similar fashion. follow step 1,2 and 3 just execute ./run.bat in cmd and enter the code file name in the test that is asked