Altered line 313 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.