Arduino Yun Mini Analog

Hi,

I'm using due. I will buy yun mini. I think it's analog resolution is 10 bit.

Can we raise it that same of due ? ( in sketch, i'm using AnalogReadResolution(16); ) can we use this code ?

Arduino Yun Mini is a breadboard PCB developed with ATmega 32u4 MCU and QCA MIPS 24K SoC CPU AR9331 which is same as Yun.

The Arduino Yun Mini can be complemented by three accessories: the dogRJ45, the dogUSB and the dog eMMC.

Arduino Yun='Arduino Yun Mini'+dogRJ45+dogUSB+'dog eMMC'

ATmega 32u4 has 12-channel 10-bit A/D-converter and no D/A-converter.

The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU.

Atmel SAM3X8E has 12-channel 12-bit A/D-converter and 2-channel 12-bit D/A-converter.

Using the Due with analogReadResolution(16) will give you an approximated 16-bit number with the first 12 bits containing the real ADC reading and the last 4 bits padded with zeros. It is fake pseudo 16-bit A/D-converter.