analogComp icon indicating copy to clipboard operation
analogComp copied to clipboard

Atmega 8 doesn't working

Open evgen05 opened this issue 10 years ago • 6 comments

on Arduino NG whith atmega 8 this library doesn't working.

evgen05 avatar Apr 11 '16 17:04 evgen05

Should compile and work. What's the problem, exactly? Does it stop during compiling, or doens't work as expected?

leomil72 avatar Apr 14 '16 14:04 leomil72

It's compiling whithout mistakes, but doesn't work. The same code compiling and working on atmega 328.

evgen05 avatar Apr 15 '16 03:04 evgen05

I don't have an Atmega8 anymore so at the moment I'm not able to investigate this issue... Which function did you try? Which pins did you use? Please provide the more informations you can. Thanks

leomil72 avatar Apr 15 '16 15:04 leomil72

I try to use sketch from example analogcomp_Enableinterrupt. Pins use 12 and 13 on chip(6 and 7 on board). Try use exporting hex in proteus - the same thing, doesn't working.

evgen05 avatar Apr 15 '16 16:04 evgen05

I'm not sure if this this the cause, but I've seen that the boards.txt file of newer versions of the Arduino IDE show a different way to choose the MCU used on the Arduino NG. I don't know if you did that, but I think you had choosen the correct MCU from the menu, isn't it?

(message edited after better analisys of the IDE and the boards.txt file)

leomil72 avatar Apr 16 '16 15:04 leomil72

yes, i've choose atmega8 in arduino NG. Arduino NG was with atmega 168 and atmega 8.

evgen05 avatar Apr 16 '16 17:04 evgen05