Void Value no Ignored as it ought to be

According to the documentation, read() does not return anything so the line "compassCount = compass.read();" is incorrect.