=DeaD= писал(а):в отпуск пора, сегодня поставил себе AVRStudio, WinAVR на недавно освеженный комп и не смог скомпилить пример, чего-то с makefile'ом намутил умудрился на ровном месте, хотя до этого раз 10 ставил всё и нормуль былоппц, переработал
Ппц. понял где грабли - русские буковки в пути к проекту


Повесил предупреждение в курс.
Добавлено спустя 48 минут 25 секунд:
Нашел на странице доков к WinAVR
- Код: Выделить всё • Развернуть
void _delay_ms (double __ms)
Perform a delay of __ms milliseconds, using _delay_loop_2().
The macro F_CPU is supposed to be defined to a constant defining the CPU clock frequency (in Hertz).
The maximal possible delay is 262.14 ms / F_CPU in MHz.
When the user request delay which exceed the maximum possible one, _delay_ms() provides a decreased resolution functionality. In this mode _delay_ms() will work with a resolution of 1/10 ms, providing delays up to 6.5535 seconds (independent from CPU frequency). The user will not be informed about decreased resolution.
Короче оно якобы нормально до 6.5 секунд должно работать, у кого под руками МК живой есть со светодиодом, можете проверить? У меня эмулятор чего-то тупит встроеный в AVRStudio
