analogReference does not compile

AloyseTech:
You have to use it with different MACRO than other arduino :

They're actually enums, not macros.