Hi guys,
I got a little bit upset about _delay_ms() and _delay_us() in util/delay.h of AVR-Libc. Coz if I need longer delay, then I have to copy and paste a lot of _delay_ms() in the code, so I'm thinking of creating a new macro with these _delay_ms() and _delay_us() as elements and automaticly calculate the number of copy needed by the time input of user. So I just wanna ask if anyone has already done this, or has any idea.
Cheng