Great tutorial. Especially liked the programming example taken from simple through updates, with commentary as to what is changed and WHY. I get a lot out of that kind of instruction. Subscribed!
very well presented. You end with good code easy to maintain but not optimized for speed. The two function calls are great for readability and maintainability but lots of overhead (I'm sure you knew that)
Hi.this tutorial is really useful for me.Could you make more videos about how to use register in some basic projects such as PWM,timer,interrupt,UART? I don't have much experience about registers because I am an Arduino user.I really appreciate that.Thank you very much in advance.
@TheElektrafreak The size of an int type is compiler specific, and from what I've read, AVR compilers for the ATmegas set the int size to 2 bytes or 16 bits.
Great video, but I have a question. Your function setPinLow; doesnt actually mean to set the pin low. Doesn't mean it will toggle the value of the pin you have passed to it? Meaning, if the pin was never set HIGH and is low, setPinLow would actually set the pin high?
I want to reverse engineer avr firmware without the original source code.. Can I still use AVR Dragon and step thru real time (in assembly)?? I have been using a simulator, but I need to debug in real hardware because the avr works with other peripherals...
There is an error in the instruction for setting the ISP frequency (2:57). The button to press is the "write" button...not "read." Being a newbie, I was following this and couldn't understand why it wouldn't program the target. After joining a forum and few days later, I discovered the error by accident. I simply pressed this, that and the other buttons to see what they do. Then noticed that the "write" button changed the frequency. No harm done, though. It's all part of learning.
Hi, I wrote the same code as your LED blinking program and i am getting an error as follows- MAKE Version 5.0 Copyright (c) 1987, 1997 Borland International Error Makefile 65: Colon expected Error Makefile 71: Command syntax error *** 2 errors during make *** Build failed with 1 errors and 0 warnings...
Awesome tutorial! I'm curious how to set/get the value on the analog pins... I would also like to know how to use the PWM functionality that some pins have.
Why are you using int's? those are 32 bit variables. that is inefficient on a 8 bit device where it is not needed. you could better use uint8_t (unsigned 8 bit int).
Great tutorial. Especially liked the programming example taken from simple through updates, with commentary as to what is changed and WHY. I get a lot out of that kind of instruction.
Subscribed!
very well presented. You end with good code easy to maintain but not optimized for speed. The two function calls are great for readability and maintainability but lots of overhead (I'm sure you knew that)
best avr tutorial on youtube ….
Hi.this tutorial is really useful for me.Could you make more videos about how to use register in some basic projects such as PWM,timer,interrupt,UART? I don't have much experience about registers because I am an Arduino user.I really appreciate that.Thank you very much in advance.
This was an amazing tutorial. Very clear! Thank you!
Your sir, are a gentleman and a scholar.
I am unable get my computer connected with the board .
I am using Atmega-32.
Excellent tutorial! Thank you very much!
@TheElektrafreak The size of an int type is compiler specific, and from what I've read, AVR compilers for the ATmegas set the int size to 2 bytes or 16 bits.
Excellent Tutorial . thanks boss.
Great video, but I have a question. Your function setPinLow; doesnt actually mean to set the pin low. Doesn't mean it will toggle the value of the pin you have passed to it? Meaning, if the pin was never set HIGH and is low, setPinLow would actually set the pin high?
Great Tutorial!
I want to reverse engineer avr firmware without the original source code.. Can I still use AVR Dragon and step thru real time (in assembly)?? I have been using a simulator, but I need to debug in real hardware because the avr works with other peripherals...
There is an error in the instruction for setting the ISP frequency (2:57). The button to press is the "write" button...not "read." Being a newbie, I was following this and couldn't understand why it wouldn't program the target. After joining a forum and few days later, I discovered the error by accident. I simply pressed this, that and the other buttons to see what they do. Then noticed that the "write" button changed the frequency.
No harm done, though. It's all part of learning.
AVR Studio and Atmel studio is the same software or different ??
shift left for pin #.... I would not have thought of that... I need to learn how to not overcomplicated code.
Is there a software emulator for the ATmega328P that would make it possible to test AVR code without the hardware?
Hi, I wrote the same code as your LED blinking program and i am getting an error as follows-
MAKE Version 5.0 Copyright (c) 1987, 1997 Borland International
Error Makefile 65: Colon expected
Error Makefile 71: Command syntax error
*** 2 errors during make ***
Build failed with 1 errors and 0 warnings...
Realy helpfull
Awesome tutorial! I'm curious how to set/get the value on the analog pins...
I would also like to know how to use the PWM functionality that some pins have.
please give the link for avr studio download!
how come I am connecting avr is v2.0 and I can't find its tools. I am a noob :S
Thank you!
it's great tutorial,by the way do u have any tutorial about UART interfacing ?? many thanks in advance ...
AND NOW? How to program it.?
hi..that's great tutorial .. thanks. could u give me some ideas, how can i interface Atmega with bluetooth.many thanks in advance .
greeeaaaatttt
Thanks for tut
Why are you using int's? those are 32 bit variables. that is inefficient on a 8 bit device where it is not needed. you could better use uint8_t (unsigned 8 bit int).
try Proteus