code for using hmc5883l compass with raspberrypi