Skip to content

Commit f1be370

Browse files
authored
Merge pull request #92 from ShimmerEngineering/CA-95
CA-95
2 parents 11a411c + ea9c959 commit f1be370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ShimmerAPI/ShimmerAPI/ShimmerBluetooth.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5215,6 +5215,7 @@ public void WriteSamplingRate(double rate)
52155215
int samplingByteValue = (int)(32768 / rate);
52165216
WriteBytes(new byte[3] { (byte)PacketTypeShimmer2.SET_SAMPLING_RATE_COMMAND, (byte)(samplingByteValue & 0xFF), (byte)((samplingByteValue >> 8) & 0xFF) }, 0, 3);
52175217
}
5218+
System.Threading.Thread.Sleep(200);
52185219

52195220
//now check to see that the internal sensor rates are close to the sampling rate value
52205221
if (GetFirmwareIdentifier() != FW_IDENTIFIER_SHIMMERECGMD)

0 commit comments

Comments
 (0)