Altered line 306 to include (byte) typecast on CMD_ADC_READ since it was throwing errors when compiling on a Mac install. This shouldn't change operation in any way.