Hi, Joel Castillo AVR counter/timer are not easily to learn and understand. I have seen a lot of them on youtube, You are the clearest and best explaination all I've seen on the web till now.
Joel, Thanks a bunch for the clear explaination. The sense I get is that you have been teaching for a long time, or are just gifted at concise and complete instruction of complex material.
Hello Joel Castillo Thank you alot about your course. Its very clear and helpful. I am very appreciated . Sir Could you consider make more lessons about C programming for AVR chip Thank you.
Excelente video! Muy bien explicado, aunque como soy principiante en esto de escribir S/W. Exlpicas de una forma clara y detallada. Me gustaría mucho si hicieras videos de cómo programar el ATMega328P usando Atmel Studio7. Y espero que también hagas otros videos de electrónica, Arduino, interfase de Arduino con dispositivos y sensores, etc... Saludos!
it is a great video, but i think there is a small mistake with number of buffer registers. for 8 bit timer it is only one buffer not 2 it is two for 16 bit timers (my source is AVR microcontroller and embadded systems by muhammed ali mazidi)
Joel, is there a reason why you choose to not use the waveform generator output pin OC0A associated with TC0? I noticed your excellent tutorial and the one by Glen Nilson of Atmel both do not use the default output pins. I suspect that this is done for flexibility of pin selection placement in circuits.
Yeah, that's the reason, OC0A pin is great if you do not want to do anything else than to change an output pin and you don't mind having to use an specific pin on the microcontroller. However, if you want to do something else with your timer count, or if you want to use an specific pin on the micro, then you either check the flags, and perform your routine (no interrupts), or you use interrupts and program your ISR.
@@joelcastillo1017 thanks ! if you want to add something that I think it's cool is to do a video about the millis function in Arduino platform and how to do an exact one with AVR gcc code.