Best posts made by Richu Bini
Latest posts made by Richu Bini
I was trying to program atmega 328p using vscode its not working
I try to program atmega328p using vscode the extension i used is avr helper ... In avr helper when i try to build the code it is showing
1 task in folder intrrepts: make -f/home/pi/Documents/intrrepts/.vscode/avr.targets.mk build <
===== Making .vscode/avr.build/output.elf
/usr/lib/gcc/avr/5.4.0/../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [/home/pi/Documents/intrrepts/.vscode/avr.targets.mk:52: .vscode/avr.build/output.elf] Error 1
The terminal process "/bin/bash '-c', 'make -f/home/pi/Documents/intrrepts/.vscode/avr.targets.mk build'" terminated with exit code: 2.
Terminal will be reused by tasks, press any key to close it.
i think this is the problem with avr-gcc can anyone help to solve this
How can i define daud rate in avr microcontrollers ?
while learning the USART communication in avr setting baud rate part seems little confusing to me .
There are two registers for setting baud rate UBRROH AND UBBRROL
How Can i use these registers...?
[Solved] Difference between Hardware and Software PWM.
What is the difference between hardware pwm and software pwm