Hallo,

muss mich dann doch noch mal einmischen:

Sresult = Result * 5
Sresult = Result / 1024
Print "Volt: " ; Fusing(sresult , "#.###")

Da kann dann ja nur 0,0 rauskommen.

gemeint ist vermutlich:

result = Result * 5
result = Result / 1024
sresult = result
Print "Volt: " ; Fusing(sresult , "#.###")

edit: Besser..

Sresult = result * 5
Sresult = Sresult / 1024
Print "Volt: " ; Fusing(sresult , "#.###")

Das Reference = Avcc sollte beim Mega8 wirklich weggelassen werden, dürfte aber auch keine negativen Auswirkungen haben.

Henrik