- This topic has 1 reply, 2 voices, and was last updated 13 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › problem in dealy of avr
i tried with LED blinking programme given on site
http://www.engineersgarage.com/embedded/avr-microcontroller-projects/led-interface-circuit
i dint understand one thing what is _delay_ms(1000); in the code… if its a function you haven’t wrote the defination of the function in the code… plz check out your codes ones again and write its defination
{ PORTA=~PORTA; _delay_ms(1000); }
It is an in-built function of avr studio. it automatically set 1000 ms delay according your oscillator