You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the "EXTERNAL" is not what we understand the external reference voltage, but AVCC.
My circuit uses an external reference voltage, and it is so set, but I found that my reference voltage is wrong, but I can not find my circuit and components have any problems, this problem plagued me a long time, and finally found The result of this setting is to connect the AVCC to the VREF Pin, so there will be such a problem.
Also, the reference voltage on the Mega128 DataSheet is set such that the REFS register is set to "11" to be the internal reference, but it is "10" in your file, but it also seems to work properly.
I recommend:
DEFAULT -> AVCC
INTERNAL -> Internal 2.56V Voltage Reference
EXTERNAL -> True external connection for reference voltage
Do you see if this is feasible?
The text was updated successfully, but these errors were encountered:
You're absolutely correct, I can see now that I messed up this in one of the recent commits. You can find these defs in the Arduino.h file. BTW, should be fixed now. Please report back if it's still not working properly.
analogReference(EXTERNAL);
However, the "EXTERNAL" is not what we understand the external reference voltage, but AVCC.
My circuit uses an external reference voltage, and it is so set, but I found that my reference voltage is wrong, but I can not find my circuit and components have any problems, this problem plagued me a long time, and finally found The result of this setting is to connect the AVCC to the VREF Pin, so there will be such a problem.
Also, the reference voltage on the Mega128 DataSheet is set such that the REFS register is set to "11" to be the internal reference, but it is "10" in your file, but it also seems to work properly.
I recommend:
DEFAULT -> AVCC
INTERNAL -> Internal 2.56V Voltage Reference
EXTERNAL -> True external connection for reference voltage
Do you see if this is feasible?
The text was updated successfully, but these errors were encountered: