Add Arduino Due support.

Changed cli() and sea() into noInterrupts() and interrupts() as they support Arduino Due.
Made boolean read() public so it can be used in sketches to check if the sensor is working properly.