[an error occurred while processing this directive]
|
таймер считает с 0x00 до 0xFF и каждый раз сверяет с со значением OCR2 если совпадает то смотря как установлены биты COM дергает ножкой
А вообще в доке в таблице 41 всё написано:
"
The counter reaches the BOTTOM when it becomes zero (0x00).
The counter reaches its MAXimum when it becomes 0xFF (decimal 255).
The counter reaches the TOP when it becomes equal to the highest
value in the count sequence. The TOP value can be assigned to be the
fixed value 0xFF (MAX) or the value stored in the OCR2 Register. The
assignment is dependent on the mode of operation."
Если помогло то с Вас фотка для галереи "лица конфы МК" =)))
Слать на megajohn@pisem.net