Digital input resolution

Hi

I am using Arduino Pro Mini 328 and I am choosing an accelerometer to buy given the resolution I can obtain. Some accelerometer give analogue output, some digital. I know the resolution of the analogue ports of my arduino is 10 bits, but I am not sure how to interpret the digital ports resolution.

There are no data on the digital port resolution/number of bits. One of the accelerometers has 12bits digital output, which I would feed into the arduino digital port. I know from programming that if I feed a bigger number of bits into data thought for less bits, the result is going to be meaningless. So, how do I know how many bits max can my digital input signal have?

Thank you

Digital ports do not have "resolution" the resolution from a digitally interfaced sensor is just what the sensor will give you.

Grumpy_Mike:
Digital ports do not have "resolution" the resolution from a digitally interfaced sensor is just what the sensor will give you.

Thanks :slight_smile:
So, does that mean all the 12 bits will be kept for sure? Is there no previous memory reservation for my digital input so basically the max number of bits becomes the actual whole memory left in the Arduino?