Beispiel #1
0
 protected virtual void OnCalADXL345busDataReceived(CalADXL345busData e) { if (CalADXL345busDataReceived != null) CalADXL345busDataReceived(this, e); }
 /// <summary>
 /// Writes <see cref="CalADXL345busData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="calADXL345busData">
 /// Cal ADXL345 bus data.
 /// </param>
 public void WriteCalADXL345busData(CalADXL345busData calADXL345busData)
 {
     WriteCSVlineAtFileIndex(calADXL345busData.ConvertToCSVstring(), FileIndexes.CalADXL345bus);
     PacketsWrittenCounter.CalADXL345busDataPackets++;
 }