[an error occurred while processing this directive]
|
думал разок сам запустив ADCSRA ->"ADSC" , он прочухается и начнёт сам в симуляторе по прерыванию таймера ставиться, он нет....
смотрим в хелп на симулятор:
The USART's UBRRH and UCSRC registers share the same I/O address. Writing to one of the registers will cause both registers to contain the new value, regardless of the value of URSEL. Reading these registers do not work as described in the datasheet.
The JTD bit in the MCUCSR register must be set to the desired value twice within four cycles to change its value. In the simulator the JTD bit can be written directly.
The ADC noise reduction function is not supported. Setting the ADIF flag will not wake the CPU from sleep mode.
Про запуск по прерыванию АЦП нету, стало быть записываем в глюки и продолжаем работать ....
E-mail: info@telesys.ru