constuint8_tchannelCountSize=1;// always fixed at 1 byte
constunsignedcharchannelCount[channelCountSize]={0x01};// number of active channels send to the plot, for now this is ADC. Should be 0x02 if Batt is also send.
elseif(strncmp(receivedChars,"SetSampleRate",13)==0)// command starting with "SetSampleRate", should always be followed by 4 integers, for example "SetSampleRate1000" for 1000 Hz
elseif(strncmp(receivedChars,"SetSampleRate",13)==0)// command starting with "SetSampleRate", should always be followed by 5 integers, for example "SetSampleRate01000" for 1000 Hz